analyze_image
Analyze images from base64, file paths, or URLs with a configured vision provider. Supports custom prompts and adjustable parameters.
Instructions
Analyze images using the configured vision provider. Supports various input formats including base64, file paths, and URLs.
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": {
"type": "<type>",
"data": "<data>"
},
"name": "analyze_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The image data (base64 string, file path, or URL) | |
| type | Yes | The type of image input | |
| format | No | Output format (default: text) | |
| prompt | No | Custom prompt for image analysis (optional) | |
| mimeType | No | MIME type of the image (required for base64 input) | |
| maxTokens | No | Maximum tokens in response (default: 4000) | |
| temperature | No | Sampling temperature (default: 0.1) |