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.
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 |