Disconnect External Agent
disconnect_agentDisconnect the external agent and disable its webhook atomically. Requires current business admin membership and agents:write, sms:write, webhooks:write. Pass the stored expected_revision. Inherited conversations return to Kai; explicit handoffs remain.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expected_revision": "<expected_revision>"
},
"name": "disconnect_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| business_id | No | ||
| expected_revision | Yes |