Look up who an agent is
stack_lookup_agent_identityAsk STACK who an agent is. Give exactly one of key_id (the keyid of a Web Bot Auth signature a request carried), site (the host name of the agent's site) or agent_id. Public: no special rights, and the same answer for an agent that does not exist as for one that is closed or whose owner switched the answer off (not found; it never says which and never repeats what you asked). Returns statement (a compact token signed by STACK: check it against STACK's keys at /v1/.well-known/jwks.json before relying on it, and use nothing older than expires_at) and the same facts as plain JSON: agent (id, status active, suspended or closed, and name only when the owner chose to show it), owner (identity_verified and good_standing, yes or no, and nothing else about the owner), lookup (what you asked, echoed) and issued_at and expires_at. It is who stands behind the agent, never what the agent may do.
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": "stack_lookup_agent_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The host name of the agent's site | |
| key_id | No | The key id (JWK thumbprint) of a Web Bot Auth signature the agent made: the keyid of its Signature-Input | |
| agent_id | No | The public id of the agent (agt_*), as an earlier statement named it |