rotate_video
Fix video orientation by rotating 90, 180, or 270 degrees clockwise. Provide the file path and rotation angle to produce a corrected output video.
Instructions
Rotate a video 90, 180, or 270 degrees clockwise.
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": {
"file_path": "<file_path>",
"rotation": "<rotation>"
},
"name": "rotate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotation | Yes | Degrees to rotate clockwise: 90, 180, or 270 | |
| file_path | Yes | Absolute path to the input video file | |
| output_path | No | Absolute path for the output file. Defaults to same directory with '_rotatedN' suffix. |