resize_sprite
Resize a sprite image to new width and height in pixels, with option to specify save path or overwrite original.
Instructions
Resize a sprite to new dimensions
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>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Source sprite file | |
| width | Yes | New width in pixels | |
| height | Yes | New height in pixels | |
| savePath | No | Path to save (defaults to overwrite source) |