Disconnect External Agent
disconnect_agentDisconnect an external agent and disable its webhook in one atomic step. Inherited conversations return to Kai while explicit handoffs remain, keeping call routing consistent after disconnection.
Instructions
Disconnect 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 |