verify_receipt
Verify the cryptographic signature on a receipt to confirm it has not been tampered with since signing. Returns 'verified: true' if valid, enabling audit before using receipts as evidence or for payments.
Instructions
Cryptographically verify an Ed25519 signature on a stored receipt to confirm it has not been tampered with since signing. Extracts the 12-field signable payload, canonicalizes it, and verifies against the stored public key. Returns verified: true if the signature is valid. Use to audit receipts before using them as evidence or before completing payments based on agent work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id | Yes | The receipt ID to verify — must exist in local storage |