render_movie
Start the final-movie render pipeline. Stitches every scene video together (or, when scene videos are missing, falls back to per-shot clips) on the Railway render service and writes the resulting MP4 to movies.metadata.renderedVideo. Use this ONLY when the user has EXPLICITLY asked to render / export / finalise / "build the final movie". Refuses if a render is already in progress for this movie. The render runs on Railway, so progress polling happens via render_jobs (separate from agent_jobs / list_running_jobs). Omit watermarkEnabled unless the user explicitly asks for or against the watermark: on the Director's Choice plan an export has no watermark unless the user turned it on in Profile; without the plan every export has it, whatever is asked. The result says what this export really carries (watermarkNote).
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": {
"movieId": "<movieId>"
},
"name": "render_movie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| movieId | Yes | The movie id (uuid) this call operates on. Get it from create_movie or list_movies. | |
| confirmId | No | Over the agent API only: the confirmId of the needsConfirmation answer the user agreed to, sent with confirmStaleExport. | |
| watermarkEnabled | No | Only when the user asked: true to add the Promvie watermark to this export, false to export without it (Director's Choice only). Omit to use the user's plan and Profile setting. | |
| confirmStaleExport | No | Over the agent API only: leave unset on the first call. When this tool answered needsConfirmation (some scene videos were made before their current script or shots) and the user agreed in a later message to export them anyway, call again with confirmStaleExport: true and that answer's confirmId. In the studio chat it does nothing: the server asks the user and answers their yes itself. |