Produce the project
produce_projectMake the project from its plan. Always call it first without max_credits: it returns the exact total for the current plan version and a confirmation id. Show the plan and the total to the user and wait for a clear yes, then call it again with the same arguments plus max_credits (that total) and confirmation (that id). Nothing is charged without both, and if the plan changes in between the old confirmation stops working. stage storyboard makes only the pictures (cheap, to check before video); shot_ids makes or remakes single shots. Failed steps are refunded. Then call get_project for progress and the finished video.
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": {
"project_id": "<project_id>"
},
"name": "produce_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redo | No | Set true to remake shots that were already made (for example after the user disliked one). | |
| stage | No | all (default): everything, then the finished video. storyboard: only the picture for every shot, to look at before paying for video. | |
| shot_ids | No | Optional: only these shots (ids from the plan). | |
| project_id | Yes | The project_id. | |
| max_credits | No | Required to start: the quoted total the user agreed to. Leave it out to get the quote; nothing is charged without it. | |
| confirmation | No | Required to start, together with max_credits: the confirmation id from the quote, passed back exactly. It only covers the plan version and total the user saw; if the plan or material changes, get a new quote and ask the user again. |