Resolve an ERC-8004 agent identity (read-only, on-chain)
resolve_agent_identityLook up an agent's ERC-8004 identity registration on any chain: returns the owner of an agentId and the tokenURI pointer to its registration file, given a registry reference and RPC endpoint.
Instructions
Look up an agent's on-chain identity registration in an ERC-8004 Identity Registry: who owns the agentId (ownerOf) and where its registration file lives (tokenURI). Read-only — never writes anything, never touches the delivery ledger. Requires the caller to supply BOTH the registry reference (chain + contract address) AND an RPC endpoint for that chain: this tool does not assume, default, or bundle its own RPC provider or a canonical registry address, since ERC-8004 has independent deployments on multiple chains. This tool does NOT fetch or parse what tokenURI points to — it returns that pointer as-is for the caller to resolve themselves. capacity-attest never verifies or endorses what an ERC-8004 registration claims; see DECISIONS.md D-007.
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": {
"agentRegistryRef": "<agentRegistryRef>",
"agentId": "<agentId>",
"rpcUrl": "<rpcUrl>"
},
"name": "resolve_agent_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpcUrl | Yes | JSON-RPC endpoint (http:// or https://) for the chain named in agentRegistryRef — never assumed or defaulted | |
| agentId | Yes | The ERC-721 tokenId / ERC-8004 agentId, as a decimal string | |
| agentRegistryRef | Yes | Compound ERC-8004 registry reference: "eip155:<chainId>:<registryAddress>", e.g. "eip155:1:0x1234567890123456789012345678901234567890" |