Issue a signed action receipt
issue_receiptGenerate a cryptographically signed, timestamped receipt to prove an AI agent performed an action, building a tamper-proof audit trail for compliance.
Instructions
Create a cryptographically signed, timestamped receipt proving that an agent performed an action. Call this immediately after any consequential action (approving an invoice, validating a supplier, sending a payment instruction, making a decision affecting a person) to build an audit trail that satisfies record-keeping obligations such as EU AI Act Articles 12 and 26. Pass the action details; if you include a payload it is SHA-256 hashed and immediately discarded — contents are never stored. Returns the signed receipt JSON, which verifies offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Identifier of the acting agent, e.g. 'agent:ap-bot@acme' | |
| context | No | Optional string key/value context, e.g. {jurisdiction: 'EU', system: 'erp-prod'} | |
| payload | No | Optional action payload (any JSON). Hashed with SHA-256 and discarded, never stored. | |
| summary | Yes | One-line human-readable description of what was done | |
| principal | No | The human or organization the agent acts for | |
| action_type | Yes | Machine-readable action category, e.g. 'invoice.approved' or 'supplier.validated' | |
| payload_hash | No | Optional precomputed 'sha256:<hex>' if you hash the payload yourself (hash-only mode) |