raster_resize
Resize images by specifying width and height, a scale factor, or a fit mode (cover, contain, fill) for flexible dimension control.
Instructions
Resize image. Provide width/height, scale factor, or fit mode (cover/contain/fill).
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>"
},
"name": "raster_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | ||
| path | Yes | ||
| scale | No | ||
| width | No | ||
| height | No | ||
| output | No |