preview
Render a small MP4 and frame strip for a selected composition range or asset, letting you inspect specific moments before final output.
Instructions
Quick headless look at part of a composition or an asset: a small, fast-encoded MP4 of the range plus a strip of frames across it (returned as an image). Pick the part with element (an element or nested composition), or from/to (seconds, "80f", "4b").
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": "preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Seconds (2.5), frames ("75f") or beats ("4b", needs meta.bpm). Snapped to a whole frame. | |
| from | No | Seconds (2.5), frames ("75f") or beats ("4b", needs meta.bpm). Snapped to a whole frame. | |
| lang | No | Language to show (e.g. en). Default: the source language the documents are written in; others come from locales/<lang>.json | |
| asset | No | Asset name (file in assets/ without .json) | |
| scale | No | Pixel scale: 0.5 renders 960×540 for a 1080p composition | |
| strip | No | Frames in the strip image (0 = none) | |
| theme | No | ||
| video | No | ||
| element | No | An element or nested composition id: limit to its time | |
| background | No | Return a job at once and render in the background (MCP and HTTP only); follow it with jobs, stop it with cancel | |
| composition | No | Composition name (file in compositions/ without .json) |