timeline_get_duration
Get a timeline's duration in frames, seconds, and timecode to verify length or plan edits, optionally for a specified timeline by name or ID.
Instructions
Timeline duration in frames, seconds and timecode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "timeline_get_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Timeline name or id (default: current timeline) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |