fit_clip
Frame a timeline clip as fill or fit, zoom in, and set focusX/focusY to choose which source area stays visible; useful for portrait footage in landscape or punching in on a subject.
Instructions
Frame a clip in the sequence: fill (cover the frame, cropping) or fit (show it all), zoom further in, and choose which part of the source stays in view. Use it for portrait footage in a landscape sequence (focusY picks the slice) or to punch in on a subject.
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": {
"clip": "<clip>"
},
"name": "fit_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Timeline clip id (from list_timeline) | |
| mode | No | fill | |
| zoom | No | Percent on top of fill/fit; 150 = punch in 1.5x | |
| focusX | No | 0 = left edge, 1 = right edge of the source | |
| focusY | No | 0 = top, 1 = bottom of the source; e.g. 0.35 keeps heads in a portrait clip | |
| project | No | Path to the .fcproj project file; omit to edit the FilmCraft app connected with connect_app |