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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
height | No | ||
image_path | Yes | ||
width | No |
Input Schema (JSON Schema)
{
"properties": {
"height": {
"default": 500,
"title": "Height",
"type": "integer"
},
"image_path": {
"title": "Image Path",
"type": "string"
},
"width": {
"default": 500,
"title": "Width",
"type": "integer"
}
},
"required": [
"image_path"
],
"title": "show_imageArguments",
"type": "object"
}