get_events
Read a session's event log to reconstruct closed-loop runs. Filter events by label, origin (marker, annotation, stim, manual), and recent time window.
Instructions
Read the session's event log.
Everything lands here on one clock: board markers, annotations re-emitted by a replay, stimulation commands we dispatched, and manual notes. That is what makes a closed-loop run reconstructible afterwards without joining clocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Filter to one event label. | |
| limit | No | Maximum events to return, most recent first-truncated. | |
| origin | No | Filter by 'marker' (live board), 'annotation' (from a replayed file), 'stim' (dispatched by us), or 'manual' (logged by hand). | |
| session_id | Yes | The session to read. | |
| last_seconds | No | Only events from the last N seconds. None for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||