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).
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}). |