fs_image_resize
Resizes images to specified dimensions with optional aspect ratio lock and padding to target size.
Instructions
Resize image with ratio lock and padding support.
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": {
"source_path": "<source_path>",
"dest_path": "<dest_path>",
"width": "<width>",
"height": "<height>"
},
"name": "fs_image_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| dest_path | Yes | ||
| source_path | Yes | ||
| pad_to_target | No | ||
| keep_aspect_ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||