revoke_agent_key
Revoke an agent API key to stop authentication immediately; this action is irreversible, so issue a new key instead.
Instructions
Revoke one of an agent's API keys. It stops authenticating immediately. This cannot be undone — issue a new key instead. You may revoke keys for an agent you own; an account owner or admin may revoke 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": {
"key_id": "<key_id>"
},
"name": "revoke_agent_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | The API key id, as returned by list_agent_keys. |