Clip size and length calculator
clip_export_calculatorCompute crop size, export resolution and clip count for turning a video into vertical clips.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "clip_export_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | Target aspect ratio | |
| width | Yes | Source width in pixels | |
| height | Yes | Source height in pixels | |
| clip_seconds | No | Target clip length in seconds | |
| source_minutes | No | Source video length in minutes |