plan
Validate and time an edit spec before rendering, returning total duration, frame count, per-shot timings and warnings to catch issues early.
Instructions
Validate + time a spec -> {total,frames,shots:[{i,chapter,T0,dur,lines}],warnings}. Run before render.
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": {
"spec": "<spec>"
},
"name": "plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | edit spec object, JSON text, or .json path | |
| synth | No | real TTS durations (else estimate) |