Get agent
get_agentRead one agent: its kind and status, a page of its instances (id, name, owner, status, liveness, credentials) and a page of its provisioner tokens. Instance and token ids are what update_agent_instance, revoke_agent_credential and revoke_provisioner_token take.
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_slug": "<agent_slug>"
},
"name": "get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_slug | Yes | The agent's slug, from list_agents. | |
| instance_q | No | Only instances whose name contains this text. | |
| instance_offset | No | How many matching instances to skip; instances come 25 to a page. | |
| instance_status | No | Only instances that are active or disabled. | |
| provisioner_offset | No | How many matching provisioner tokens to skip; tokens come 25 to a page, newest first. | |
| provisioner_status | No | Only provisioner tokens that are active, expired or revoked. |