issue_receipt
Issue a cryptographically signed receipt to prove agent consent to terms before acting. Returns Ed25519-signed proof or policy denial to stop unauthorized actions.
Instructions
Issue a cryptographically signed terms receipt BEFORE your agent takes an action. Returns an Ed25519-signed receipt proving consent to terms. If this returns POLICY_DENIED or POLICY_ESCALATION_REQUIRED, STOP and notify the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier for this agent | |
| action_type | Yes | ||
| terms_url | Yes | URL of the terms being agreed to | |
| terms_hash | Yes | SHA-256 hash of the terms document (64 hex chars) | |
| timestamp | No | ISO 8601 timestamp (defaults to now) | |
| pricing_version | No | Pricing version (defaults to 2025-01) | |
| action_context | No | Optional metadata (provider, model, endpoint, etc.) |