read_cues
Retrieve subtitle cues from a file by cue number range or time window, with a configurable result limit and encoding override.
Instructions
Show cues, selected either by number or by time. Cue numbers are 1-based positions in the file (the same numbers every other tool uses).
Args: path: subtitle file. start_cue: first cue number (inclusive). Use with end_cue. end_cue: last cue number (inclusive). from_time: show cues that overlap [from_time, to_time). Format 00:01:02,500 or 62.5. to_time: end of the time window (default: end of file). limit: maximum cues to return (default 100, at most 500). encoding: force a text encoding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| end_cue | No | ||
| to_time | No | ||
| encoding | No | ||
| from_time | No | ||
| start_cue | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |