Delete an agent
delete_agentPermanently remove an agent to stop phone numbers and campaigns linked to it from working. This action is irreversible, so confirm before deleting.
Instructions
Permanently delete an agent. Phone numbers and campaigns pointing at it stop working. Not reversible.
Requires scope agents:write.
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": {
"id": "<id>"
},
"name": "delete_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record id, e.g. "6a96a3ead6e886d42462dd3e". |