Archive an agent
archive_agentMove an agent to Archived, like the dashboard's Archive. Nothing is deleted and restore_agent brings it back. Call without approved to see what happens, and with approved: true only after the person confirms.
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": "archive_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| approved | No | true only after the person has confirmed. |