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.
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. |