Dry-run a dynamic transfer-destination lookup (no persist)
Resolve a transfer target’s destination exactly as the voice host would.
Powers the authoring UI’s “what number would this resolve to?” preview: the
request’s input_mapping is rendered against sample context_vars and
executed through the same shared lookup core as a live transfer (same
renderer, same revalidation gates, same extraction), so preview and runtime
cannot drift. Verifies the revision belongs to the caller’s org AND to
tool_id (404 otherwise). Persists nothing; API inputs, response bodies,
and the resolved destination are never logged.
Authorizations
Body
Authoring dry-run of a dynamic transfer-destination lookup.
Renders input_mapping against sample context_vars and drives the
referenced api_call revision through the SAME shared lookup core the voice
host uses at transfer time — so the preview and a live transfer cannot
drift. Nothing is persisted; API inputs, response bodies, and the resolved
destination are never logged.
Response
Successful Response
Result of a dynamic transfer-destination preview.
resolved is True iff a dialable destination was extracted from the
lookup response. Otherwise subcode carries the runtime failure reason;
missing_inputs and problems surface pre-execution (render / shape)
failures independently.