describe_image
Analyze local image files using AI vision to generate detailed descriptions. Customize prompts to extract specific information like text or chart structure.
Instructions
识别图片内容。传入本地图片的绝对路径,返回AI对图片内容的详细描述。
参数:
image_path: 图片的绝对路径,支持 PNG/JPG/JPEG/GIF/WEBP/BMP
prompt: 自定义提示词,可指定需要提取的信息类型(如"提取所有文字"、"描述图表结构"等)
max_tokens: 最大输出长度,默认4096
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": "describe_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | ||
| prompt | No | ||
| max_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |