Rewrite the whole screenplay
beat_set_textReplace the entire text of a Beat screenplay document with new Fountain text for full rewrites. Use targeted scene edits instead when only part of the script needs updating.
Instructions
Replace the ENTIRE text of a Beat document with new Fountain text. Use this for full rewrites; prefer beat_replace_scene for targeted edits so you don't disturb the rest of the script.
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": {
"text": "<text>"
},
"name": "beat_set_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Complete new Fountain text for the document. | |
| docIndex | No | Index into the list returned by beat_list_documents. Omit to target the frontmost/current document. |