list_agent_keys
Retrieve an agent user's API keys with name, prefix, scope, last-used and expiry details, plus revocation status, to audit or manage access without exposing secret key values.
Instructions
List the API keys belonging to an agent user — name, non-secret prefix, scope, last used, expiry and whether revoked. The key itself is never returned by this or any other call; it exists only in the one issue_agent_key response.
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": "list_agent_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_user_id | Yes | The agent's user id. |