show_image
Generate and return a thumbnail image by specifying width, height, and image source (URL or local file path) with a maximum size of 1048578 pixels.
Instructions
Create a thumbnail of the image and return it. The maximum size is 1048578.
Supports URLs or local file paths.
Args:
image_path: Image URL or local file path
width: Output image width (pixels)
height: Output image height (pixels)
Returns:
Image: Thumbnail image
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": {
"image_path": "<image_path>"
},
"name": "show_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | No | ||
| image_path | Yes | ||
| width | No |