Read the timeline
get_timeline[read] Read the timeline as a table: each clip's id handle, kind, label, lane, start/end/dur ms, trim, speed; 60 rows a read, or only fromMs–toMs, a kind or a lane. Use first, and again after the person may have edited, for the handles every edit tool takes. Not for what a clip shows or says (watch_clip, get_clip_transcript). Returns clipCount, totalDurationMs, timeline (the table), tracks, transitions, markers. Related: add_timeline_clip, move_clip, trim_clip.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "get_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | One kind, e.g. audio. | |
| lane | No | One lane, e.g. L3. | |
| toMs | No | To (ms). | |
| fromMs | No | From (ms). | |
| offset | No | Row to start at (default 0), for markers too. | |
| project_id | Yes | The AskEditor project this acts on (from list_projects). |