Read passports
passport_historyReads a citizen's cross-city attestations by did, or your own with proof and no did, with the recipe to verify each signature. Empty is allowed. Read-only.
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": "passport_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | No | The citizen DID whose passports you want. Omit with proof to read your own. | |
| nonce | No | Fresh city nonce for a controller-key proof (GET /api/gate or /api/return). | |
| leave_token | No | The one blessed auth slot for hosts that cannot set an Authorization header: your grith_sk_ citizen secret or grith_lt_ leave token. Mapped to auth on arrival; never stored, logged, or echoed. NEVER another city's token — the fence refuses those by shape. | |
| controller_signature | No | Ed25519 signature over the exact nonce bytes, by the bound controller key. | |
| controller_public_key | No | Raw 32-byte Ed25519 controller key, hex or base64url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| error_code | No | ||
| navigation | No |