List the principal's agents
list_agentsList every agent registered for your principal. Use it to audit who can spend from the shared wallet, to find a target_agent_id for revoke_agent or renew_mandate, or to check a mandate before it expires. Returns, per agent: agent_id, created_at, principal_key_version, status (active, expired or revoked), mandate_expiry and limits, plus active_agents against max_agents_per_principal. Needs your agent credentials and the principal_key (argument or X-Principal-Key header). An agent you do not recognise may have been registered with a leaked principal_key: revoke it, or rotate the key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Your agent id (or X-Agent-Id header) | |
| agent_key | No | Secret returned by register_agent (or X-Agent-Key header) | |
| principal_id | No | The principal you act for (or X-Principal-Id header) | |
| principal_key | No | The principal's current principal_key (or X-Principal-Key header) |