Edit one scene of a lesson
edit_lessonChange one scene of a lesson (rewrite, shorten, retitle or restyle it); no render starts
The panel's own frame edit reached with an API key: the system proposes a patch to one scene and the source-quote check still decides -- a sentence the document does not support is refused. Name the target with scene_index or cue_index, exactly one of them (a cue is a scene's caption, so it names that scene). The call starts no render; the change is prepared in the background and accepting it stays the owner's step in the panel. Nothing is charged here: minutes are held when the video is rendered again (rerender).
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": {
"id": "<id>",
"operation": "<operation>"
},
"name": "edit_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id | |
| cue_index | No | 0-based position of the spoken caption; a caption belongs to a scene, so it names that scene. Exactly one of scene_index / cue_index. | |
| operation | Yes | rewrite: say it again in the document's own words. shorten: the same point in fewer words. retitle: a new scene title. style: change how the scene looks, not what it says. | |
| instruction | No | What exactly should change, in one or two sentences. The source check still applies: the document must support the new sentence. | |
| scene_index | No | 0-based position of the scene in the storyboard. Exactly one of scene_index / cue_index. |