analyze_image
Analyze an image from a file path and get a detailed description of its contents, including objects, text, and colors. Works with PNG, JPEG, GIF, WebP, and BMP.
Instructions
Analyzes an image and returns a detailed description. Supports PNG, JPEG, GIF, WebP, and BMP formats.
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": "analyze_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | Path to the image file to analyze | |
| prompt | No | Custom prompt for image analysis | Describe this image in detail, including objects, text, colors, composition, and any notable features. |
| width | No | Target width to resize the image before analysis (optional) | |
| height | No | Target height to resize the image before analysis (optional) |