Delete Scene
delete_sceneRemove a scene from a Remotion project by deleting its .tsx file, updating composition.json and Root.tsx, and recalculating startFrame for later scenes.
Instructions
Delete a scene. Removes the .tsx file, removes the entry from composition.json, recalculates startFrame for all subsequent scenes, and updates Root.tsx.
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": {
"projectPath": "<projectPath>",
"sceneId": "<sceneId>"
},
"name": "delete_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | ID of the scene to delete | |
| projectPath | Yes |