extract_text_from_image
Extract and transcribe all text from images using OCR. Supports screenshots, documents, code, and receipts via local file path or URL.
Instructions
【必须调用】OCR 工具:逐字转录图片中的全部文字(适合截图、文档、代码、票据)。 当用户上传的图片需要提取文字时,必须调用本工具。
Args: image: 图片的本地文件绝对路径或 http(s) 图片 URL。
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": "extract_text_from_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |