delete_agent
Delete an agent by ID. The API may refuse if the agent has active tasks or is the last active agent.
Instructions
Delete an agent. The API may refuse if the agent has active tasks or is the last active agent.
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": {
"agent_id": "<agent_id>"
},
"name": "delete_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID to delete |