read_events
Read a recording's input event log—mouse clicks, scroll, cursor moves, shortcuts, typing bursts with video timestamps and pixel positions. Filter by time range and event type, then sample frames at those moments.
Instructions
Read the input event log of a recording made with start_recording events: true: mouse clicks, scroll, cursor positions, shortcuts, and typing bursts, each with its video time in seconds and position in video pixels. Filter by time range and type, e.g. types: ['down'] for the clicks, then sample_frames at those times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only events at or before this video time, in seconds. | |
| from | No | Only events at or after this video time, in seconds. | |
| input | No | Or a recording path (its sibling .events.jsonl is read) or the .events.jsonl itself. | |
| limit | No | Most events to return (default 200); the result says when more matched. | |
| types | No | Only these types: down / up (mouse buttons), move (sampled cursor), wheel, key (a named shortcut), typing (a burst of typing: start and length only), gap (events may be missing). Clicks are down. | |
| sessionId | No | Session id of a recording started with events: true. | |
| inFrameOnly | No | Drop events whose cursor was outside the recorded area. |