raster_rotate
Rotate images by a specified number of degrees, with an option to expand the canvas to fit the rotated content without cropping.
Instructions
Rotate image by degrees. expand=True enlarges canvas to fit.
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": {
"path": "<path>",
"degrees": "<degrees>"
},
"name": "raster_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| expand | No | ||
| output | No | ||
| degrees | Yes |