ocr_image
Extract all text from images while preserving original layout. Perfect for digitizing documents, receipts, and screenshots.
Instructions
提取图片中的所有文字内容(OCR),保持原始排版。
与 recognize_image 的区别:本工具只提取文字,不描述图像本身, 适合截图取字、票据/单据录入、文档数字化等场景。
Args: image: 图片来源,支持本地路径 / http(s) URL / base64 字符串。
Returns: 图片中识别到的纯文本内容。
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": "<image>"
},
"name": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |