claim_bearer_key
Redeem a claim token from Aidress to retrieve your bearer key for authenticating agent requests.
Instructions
Redeem a claim-token link's token (from register_agent's or rotate_agent_key's claim_link field) and receive the actual bearer key. This is the GET /rotate?token=... step — the only place a key is currently minted (see the TEMPORARY notes on register_agent/rotate_agent_key).
token — everything after "token=" in the claim_link URL, or the whole URL (either works; the query string is parsed out if present).
Returns an error (400) if the token is invalid or already used. Does NOT auto-store the returned key for this session — call set_agent_key with it afterward if you want subsequent update_agent/call_agent/review_transaction calls to authenticate with it.
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": {
"token": "<token>"
},
"name": "claim_bearer_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes |