Delete an agent
agent_deleteDelete an agent. Campaigns and conversations pointing at it lose their automated replies, silently — prospects mid-conversation simply stop getting answers. Irreversible, and its knowledge attachments and training go with it. Read agent_list for which campaigns use it, show the user, and get an explicit yes first. To stop an agent replying without destroying it, use agent_upsert with isActive: false, or conversation_update with assistant: false for one thread. Requires the "Agents" permission on the plan.
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": {
"agentId": "<agentId>"
},
"name": "agent_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | AI agent id, from `agent_list`. |