Update a scene
update_sceneChanges one scene directly (free, instant): its variable values (merged; the ids and current values are in get_video — text, colors, numbers, images as "asset:"), label, intent, duration (600–30000 ms; keep it at least as long as its narration), transition into it, narration script (null removes it), or its whole HTML (≤ 60000 characters, following the authoring rules from list_video_blocks; its variables are re-read from it). Changing the script makes its narration stale: then call generate_video_voiceovers. To change how a scene looks or moves, ask write_scene instead of writing HTML.
Requires: demos:read, demos:write.
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": {
"videoId": "<videoId>",
"sceneId": "<sceneId>"
},
"name": "update_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| label | No | ||
| intent | No | ||
| values | No | ||
| sceneId | Yes | Scene id (from get_video), e.g. "sc_k3x9q2ab". | |
| videoId | Yes | Video id (from list_videos), e.g. "v_Ab12Cd34Ef56Gh78". | |
| narration | No | ||
| durationMs | No | ||
| transition | No |