Prepare a template video in Remotion or HyperFrames
prepare_video_templateValidate one VideoSpec against the paired template contract and return local source for the chosen framework, or switch an existing project's framework. For a VideoSpec template in Remotion or HyperFrames, use prepare_video_template with the VideoSpec. Never infer a framework from creative wording; omit framework unless the user chose one or said no preference, and ask the user on needs-selection. Continue with the returned project: edit project.spec, then call again to regenerate or to switch frameworks. A rejected field is unsupported in both frameworks; fix it rather than dropping it. The tool returns local source and commands; it does not render, save or upload.
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": "prepare_video_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | A VideoSpec 1.0 document for a new project. | |
| project | No | The latest project returned by this tool, with any edits made to project.spec. Caller-held, not a saved hosted project. | |
| framework | No | Only supply an explicit user choice. Omit for an ambiguous request or to inherit the existing project framework. |