delete_agent
Permanently delete an agent from your workspace. System agents cannot be deleted.
Instructions
Permanently delete an agent from the workspace. This cannot be undone. System agents (harness agents) cannot be deleted.
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": "delete_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ID of the agent to delete | |
| workspaceId | No | Workspace ID. If not provided, uses your default workspace. |