Edit one scene
update_sceneChanges one scene: send only the fields to change. Sending dialogue, characters or props replaces that whole list. Use it for targeted fixes (a sharper hook, a shorter line, a different look) instead of rewriting the episode.
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": {
"scene_id": "<scene_id>",
"expected_version": "<expected_version>",
"patch": "<patch>"
},
"name": "update_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Only the scene fields to change (beat, heading, action, dialogue, shots, characters…). | |
| scene_id | Yes | The scene id (scn_…), from get_episode. | |
| expected_version | Yes | The version you read; the write fails with VERSION_CONFLICT if it changed since |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | ||
| version | Yes | ||
| scene_id | Yes |