test_agent
Start a test call to validate your AI voice agent. Choose between webcall, chat, or telephony modes, and test the committed version, an open draft, or a specific revision.
Instructions
Start a test call against a branch — its committed head by default, its open draft (include_draft: true) to try unpublished changes, or a specific revision_id. Modes: webcall (default) or chat return LiveKit connection details; telephony places a real call to to_phone (required, E.164).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Test mode. Default webcall. telephony places a real call to to_phone. | |
| agent_id | Yes | The agent ID | |
| to_phone | No | Destination phone number in E.164 — required when mode is telephony. | |
| branch_id | No | Branch to test (from list_branches). Omit for the live branch; if the agent has multiple branches you'll be asked to pick one. | |
| revision_id | No | Test a specific committed revision. Cannot be combined with include_draft. | |
| include_draft | No | Test the branch's open draft (unpublished changes) instead of its committed head. Cannot be combined with revision_id. |