remove_agent
Revoke an agent user's API keys and remove it from the workspace while preserving its past task, time, and audit history.
Instructions
Remove an agent user from the workspace. Every one of its API keys is revoked and it can no longer act, but its past work stays attributed to it — the identity is not deleted, so task history, time entries and audit rows keep their actor. You may remove an agent you own; an account owner or admin may remove any in the workspace.
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_user_id": "<agent_user_id>"
},
"name": "remove_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_user_id | Yes | The agent's user id. |