event.append
Log a single canonical event to the current session, such as test.passed or file.changed, so agents keep shared task state. Oversized payloads are stored as artifacts automatically.
Instructions
Append one event to the current session's log. The type must be canonical (e.g. test.passed, test.failed, file.changed, command.executed); others are rejected. Payloads over 8 KB are stored as an artifact (read with artifact.get), over 1 MB rejected. Each call appends a new event. Returns {"status":"ok"}; test.passed may auto-checkpoint. To also log a decision or checkpoint use session.record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Canonical event type, e.g. test.passed, test.failed, file.changed, command.executed | |
| payload | No | Optional JSON object as a string, e.g. {"failures":2} |