delete_shot
Remove a single shot, with its image, from a scene. Destructive: only call after the user has explicitly asked. The first call never deletes: it answers needsConfirmation naming the shot and what goes with it. In the Promvie studio chat the server shows the user this question in its own words and does it only on their plain yes: never ask it yourself, never say it was done, and never call again with the confirm flag there. Through the API, tell your user exactly what is lost and, only after they agree in a later message, call again with the confirm flag and the confirmId it gave. After deletion, the scene's remaining shots keep their existing shot_order (no automatic compaction). If the user wants the gap filled, suggest enqueue_generate_shots({ sceneIds: [N], replace: true }).
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": {
"movieId": "<movieId>",
"shotId": "<shotId>"
},
"name": "delete_shot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shotId | Yes | Shot id to delete. | |
| movieId | Yes | The movie id (uuid) this call operates on. Get it from create_movie or list_movies. | |
| confirmId | No | Through the API: the confirmId from the needsConfirmation answer, sent back with confirmDelete. It confirms that one question, once. | |
| confirmDelete | No | Through the API only. Leave unset on the first call. Set true ONLY after this tool answered needsConfirmation and your user, told that the shot and its image will be deleted, agreed in a later message, in a separate later call that also sends the confirmId. In the studio chat the server answers the question itself: never set it there. |