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.
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>",
"action_id": "<action_id>"
},
"name": "sign_action"
}
}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 |