calls_dismiss_agent
Take the AI agent OFF a running call while the bot stays in the call and keeps transcribing (Google Meet / Teams bot, Telegram group voice chat, WhatsApp group call). Use it to remove or replace the agent without ending the call. To bring an agent back, call calls.dispatch_agent with the same session UUID (or thread_id); it receives the full call transcript so far. To end the whole call and make the bot leave use calls.hangup instead. Identify the call by target (live session UUID from calls.list_active) or thread_id of the running call. Waits up to ~15 s for the agent to confirm it has left; fails if no agent is active on the call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calls_dismiss_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Short reason, passed to the agent's session and logs (e.g. 'replacing with another agent'). Optional. | |
| target | No | Live session UUID of the running call (from calls.list_active). Provide this OR thread_id. | |
| thread_id | No | Inbox thread id of the running call. Provide this OR target. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |