sign_action
Generate signed audit records for AI agent actions, with optional compliance receipts for proof of integrity.
Instructions
Create a signed audit record for an AI agent action.
Args:
agent_id: The agent performing the action
action_type: Type of action (e.g. "data:read", "api:call")
action_id: Unique identifier for this action
payload: Optional JSON payload describing the action details
compliance_mode: When True, mint a Compliance Receipt by sending the
hash-only wire envelope (hash + hash_algo + payload_size). Requires
payload to be supplied so the cloud can resolve the payload_digest
object form.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| action_type | Yes | ||
| action_id | Yes | ||
| payload | No | ||
| compliance_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |