rotate_video
Correct video orientation by rotating 90, 180, or 270 degrees and optionally flipping horizontally or vertically.
Instructions
Rotate and/or flip a video.
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": {
"input_path": "<input_path>",
"output_path": "<output_path>"
},
"name": "rotate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | none | |
| rotation | No | ||
| input_path | Yes | Source video path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| output_path | Yes | Destination path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |