log_action
Log an agent action on-chain via Tracea (immutable audit trail, court-ready). Requires TRACEA_API_KEY env var. The action is signed by the account's wallet.
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_address": "<agent_address>",
"action_type": "<action_type>"
},
"name": "log_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional human-readable payload (JSON string recommended) | |
| action_type | Yes | Short action type, e.g. 'email_sent', 'payment_initiated' | |
| agent_address | Yes | Ethereum address of the acting agent |