sign_action
Sign an AI agent action to create a signed audit record. Optionally generate a compliance receipt by sending a hash-only wire envelope.
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 |