validate_receipt
Validate a compliance receipt from another agent-memory server by verifying its Ed25519 signature, expiry, and required caveats using the issuer's public key.
Instructions
Validate a CRP 1.1 (Ed25519) Compliance Receipt issued by ANOTHER agent-memory server using that server's published public key — no shared secret (the federation primitive). Checks signature, expiry, and required caveats. Pass receipt (object or JSON string) and public_key (inline PEM or a file path; the issuer gets theirs via agent-memory export-pubkey).
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": {
"receipt": "<receipt>",
"public_key": "<public_key>"
},
"name": "validate_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | The Compliance Receipt to validate (object or JSON string). | |
| public_key | Yes | Issuer's Ed25519 public key · inline PEM or a file path. | |
| required_caveats | No | Caveats that must be present (each {type, value}). |