exchange_credentials
Exchanges compliance passports between two agents to negotiate a short-lived authorization token with scope limited to intersecting regulatory frameworks.
Instructions
A2A handshake. Two agents present their passports and negotiate a short-lived authorization token whose scope is the intersection of the frameworks the presented passport covers. Returns {authorized, scope, expires}.
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_id_passport": "<agent_id_passport>",
"counterparty_id": "<counterparty_id>"
},
"name": "exchange_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counterparty_id | Yes | DID of the counterparty agent. | |
| agent_id_passport | Yes | The Passport presented by the calling agent. |