describe_image
Recognize and describe local images or extract text from them using GLM-4V. Ideal for non-vision models needing image understanding.
Instructions
使用智谱 GLM-4V 识别并描述本地图片内容,或提取图片中的文字。
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 |
|---|---|---|---|
| prompt | No | 识别指令,可指示模型重点观察什么或者提取图中的文字。 | |
| image_path | Yes | 本地图片的绝对路径或相对路径。 |