rotate_image
Rotate images by specified degrees counter-clockwise. This tool automatically expands the canvas to accommodate the rotation, preserving the entire image content.
Instructions
Rotate an image by the specified degrees (counter-clockwise). Expands canvas by default.
Free tool — runs locally, no account needed.
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>",
"degrees": "<degrees>"
},
"name": "rotate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| degrees | Yes | ||
| expand | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |