Set Clip Scale
set_clip_scaleScale a video clip evenly via its Motion effect; sets both height and width so the image is not stretched, then reads the result back.
Instructions
Scale a video clip evenly through its Motion effect using English or measured Spanish built-in names, and read the result back. With Uniform Scale off, both Scale (height) and Scale Width are set, so the picture is not stretched; use set_scale_width_height for different values.
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": {
"node_id": "<node_id>",
"scale": "<scale>"
},
"name": "set_clip_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | Scale value (100 = original size, 200 = 2x, 50 = half) | |
| node_id | Yes | Node ID of the clip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |