scenario.apply_to_timeline
The high-level film-building tool (§34): materializes a staged scenario into real tracks, scenes, placeholders, and timeline items in one atomic, undoable step. Creates a video track with one placeholder per scene; optionally a Music track with one placeholder spanning the whole scenario, an SFX track with a per-scene placeholder wherever a scene has a soundPrompt, and a Voice track wherever a scene has a voicePrompt. When createPromptPlaceholders is true (default), each scene's videoPrompt/soundPrompt/voicePrompt is attached immediately so placeholders start at status prompt_ready.
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": {
"projectId": "<projectId>",
"expectedVersion": "<expectedVersion>",
"scenarioId": "<scenarioId>"
},
"name": "scenario.apply_to_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| projectId | Yes | ||
| scenarioId | Yes | ||
| expectedVersion | Yes |