compute_action_ref
Compute a cryptographic hash that uniquely identifies an agent action request, enabling deduplication and consistent reference across receipts.
Instructions
Compute content-addressed request identity (SHA-256 of agentId + actionType + scope + normalized timestamp). Two receipts with the same action_ref describe the same request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| action_type | Yes | ||
| scope_required | Yes | ||
| timestamp | No | ISO 8601 timestamp; defaults to now |