ocr_image
Extract text from any image by providing its file path, using a local PaddleOCR pipeline for accurate recognition.
Instructions
Run the latest local PaddleOCR text-recognition pipeline on an image.
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": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ch | |
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| blocks | No | ||
| engine | Yes | ||
| source_name | Yes | ||
| elapsed_seconds | Yes |