resize
Scale pixel art by factor or exact dimensions using nearest-neighbor, or change canvas size with an anchor to preserve placement.
Instructions
scale{factor|width,height} nearest-neighbor | canvas{width,height,anchor?:center|top_left|top|...}
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>",
"mode": "<mode>"
},
"name": "resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | Yes |