Rewrite one scene
beat_replace_sceneReplace a single scene's text in a Fountain screenplay by its index, preserving all other content. Provide new scene text including the heading to update it in the Beat app.
Instructions
Replace a single scene's text in place (heading through the line before the next scene), identified by sceneIndex from beat_get_scenes. The rest of the script is untouched.
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": {
"sceneIndex": "<sceneIndex>",
"text": "<text>"
},
"name": "beat_replace_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New Fountain text for this scene, including its scene heading. | |
| docIndex | No | Index into the list returned by beat_list_documents. Omit to target the frontmost/current document. | |
| sceneIndex | Yes | Index from beat_get_scenes. |