analyze_image
Analyze images to generate detailed descriptions, extract text, and interpret scenes. Supply an image path and an optional prompt to get AI-powered insights.
Instructions
使用 GLM-4V Flash 分析图片内容,支持中文和英文描述
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 |
|---|---|---|---|
| prompt | No | 分析提示词,例如:描述图片内容、识别文字、分析场景等 | 请详细描述这张图片的内容 |
| image_path | Yes | 图片文件路径(支持 png, jpg, jpeg, webp, gif 格式) |