ocr_image
Convert any image—local file, URL, or data URI—into Markdown text using OCR. Get structured JSON output with extracted content and usage details.
Instructions
OCR 单张图片并返回 Markdown。
source 支持:本地文件路径(如 D:/a.png)、file:// URL、 http(s) URL、data URI(data:image/png;base64,...)。 返回 {"status":"ok", "markdown":..., "json_result":[...], "usage":...}; 失败时 status="error" 并附 error 信息。
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": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes |