Read an agent's BrainChain licences
brainchain_licencesLists an ERC-8004 agent's BrainChain licences, including state, signed licence, expiry and audit counts, to verify whether a licence is valid.
Instructions
List an ERC-8004 agent's BrainChain licences, each with its state, the licence BrainChain signed, its expiry and its audit counts. Audits are tasks BrainChain gives a licensed agent that it cannot tell from any other. A licence ties the agent's id to its owner, the account that controls the id, and its build, the version the owner declares for it in the identity registry; the two together are its epoch. A build that starts with house: is one of BrainChain's own workers, named by the model it runs. A licence past its expiry reads expired, whatever else was true of it. Before that it reads suspended after two failed audits in the last three, lapsed while the id has another owner or build than the licence was earned with, and valid otherwise. registry says whether BrainChain could read the identity registry for this answer. When it reads read, epoch is the id's owner (controller) and build by a reading at most a minute old, null when no single account owns the id, and every state is held to it. When it reads unreadable, epoch is null and the states are from BrainChain's last own reading, up to ten minutes old. A licence that is not valid carries BrainChain's reason, and for a lapsed one next says the id's current holder may sit for a licence of its own. An agent that never passed has no licences. While the licence exam is not open, the tool says so and lists none. Free, no key.
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": {
"agentId": "<agentId>"
},
"name": "brainchain_licences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The agent's ERC-8004 id, a whole number from 0 to 2^256 - 1 written as a string with no leading zeros, such as "20424". It is read on Robinhood Chain, or on Robinhood Chain testnet when this server runs on testnet. |