rotate_sprite
Rotate a sprite canvas by 90, 180, or 270 degrees clockwise to adjust its orientation.
Instructions
Rotate the sprite canvas by 90, 180, or 270 degrees
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": {
"filePath": "<filePath>",
"angle": "<angle>"
},
"name": "rotate_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| angle | Yes | Rotation angle in degrees (clockwise) | |
| savePath | No | Path to save |