et_log_action
Log agent actions like file edits, API calls, and decisions as SHA-256 hash-chained compliance evidence for audit trails linked to pull requests.
Instructions
Log an agent action as compliance evidence in EvidentTrail. Call this whenever you perform a significant action (file edit, API call, decision).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | No | Optional model ID (e.g. claude-sonnet-4.6). Set on the first call; applies to all subsequent flushes in this session. | |
| actionType | Yes | ActionType name: FileWrite, FileRead, FileDelete, ToolInvocation, ApiCall, Decision, SessionStart, SessionEnd, Custom | |
| actionDetail | Yes | Short human-readable description of the action (e.g. tool or file name) | |
| inputSummary | No | Optional summary of inputs (max 500 chars) | |
| outputSummary | No | Optional summary of outputs (max 500 chars) |