write_script
Write script lines from your own text, full script, or a topic, then place them into film scene shots in order with captions and optional new shots.
Instructions
Put a script in the film, the way Sound and script does. Give your own lines (short, 5-15 words, one shot each), or text (a whole script, cut into lines at sentences), or only a topic (Dinoctor's Claude writes it; uses the person's own Claude Code and can take a few minutes, so say so first). Unless put_in_film is false, lines go into a scene: shots there without a voice take lines in order, and each line left over becomes a new shot sized to it. Captions show a line's words until it has a voice. replace: false adds to the script. One undo step. Returns the lines and shots. To make the voices, call speak next; to give one shot one line, use assign_line.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "write_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Existing shots that take a line get the line's length (default true). | |
| text | No | A whole script to cut into lines at sentences. | |
| tone | No | For a topic: the tone, like 'funny' or 'calm documentary'. | |
| lines | No | Your own lines, in order: plain strings or { text, feeling }. | |
| scene | No | Scene index from 0. Default: the scene on screen. | |
| title | No | The script's title. | |
| topic | No | Only a topic: Dinoctor's Claude writes the script. | |
| replace | No | false: add to the script instead of replacing it. Default true. | |
| seconds | No | For a topic: how long the film is (default 60). | |
| captions | No | Show captions of the lines (default true). | |
| new_shots | No | false: leftover lines wait instead of becoming new shots. | |
| put_in_film | No | false: only keep the lines in the script, don't touch shots. Default true. |