extract_text
Recognize and extract text from images via OCR. Specify image path and language (Chinese, English, or auto) to retrieve embedded text.
Instructions
从图片中提取文字(OCR 功能)
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": "extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | 文字语言 | auto |
| image_path | Yes | 图片文件路径 |