Recognize image
recognize_imageIdentifies content from local paths or remote URLs, outputting XML-structured data to help AI understand images.
Instructions
识别本地或远程图片内容,默认使用 XML 形式输出,帮助 AI 理解图片内容。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "recognize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | 可选识图提示词。默认要求 XML 输出。 | |
| image_url | No | 远程图片 URL。与 image_path 二选一。 | |
| image_path | No | 本地图片路径。与 image_url 二选一。 | |
| max_tokens | No | 最大输出 token 数,默认 1024。 |