SCREENCAST-MCP / TOOLS / PRODUCE
Compose Videos
compose
Lay 2-9 videos out side by side, stacked, or in a grid (before/after, app and terminal), labelled and in sync.
producewritesdestructivesince next release
00:00PARAMETERS
| Name | Type | Description |
|---|---|---|
inputs required | object[] | Videos in reading order, each with an optional label (e.g. "Before"). at least 2 items, at most 9 items |
inputs[].path required | string | |
inputs[].label | string | at most 80 characters |
layout | "side_by_side" | "stack" | "grid" | side_by_side (default), stack, or grid. |
alignMarker | string | Line inputs up on this add_marker label. |
endWith | "longest" | "shortest" | longest (default; shorter ones hold their last frame) or shortest. |
audio | integer | "mix" | "none" | Input index whose audio to keep (default 0), "mix", or "none". |
output | string | Output path; default SCREENCAST_HOME/edits. |
overwrite | boolean | Replace an existing output. |
00:05A MINIMAL CALL
compose { "inputs": [{"path": "recording.mp4"},{"path": "recording.mp4"}] }
The required arguments only, with placeholder values. Everything else takes its default.
00:10WHAT COMES BACK
Structured content (structuredContent), alongside a text summary:
| Field | Type | Description |
|---|---|---|
outputPath always | string | Path of the file written. |