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.
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": {
"agent_id": "<agent_id>",
"action_type": "<action_type>",
"terms_url": "<terms_url>",
"terms_hash": "<terms_hash>"
},
"name": "issue_receipt"
}
}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.) |