识图分析
analyze_imageAnalyzes an image to describe its content, answer visual questions, and locate UI elements; accepts local paths, URLs, data URLs, or base64, and returns a full description when no prompt is given.
Instructions
理解一张图片:描述内容、回答关于图片的问题、定位界面元素。不传 prompt 时输出完整描述。
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": {
"source": "<source>"
},
"name": "analyze_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | 临时指定模型 id(默认 gpt-5-6;可用 VISION_MODEL 环境变量改全局默认) | |
| prompt | No | 想问的具体问题,如"图中红色按钮的坐标是多少" | |
| source | Yes | 图片来源:本地文件路径、http(s) 图片 URL、data:image/...;base64,... 数据 URL,或裸 base64 |