Read the text in an image (OCR)
extract_textRead printed text from a scan, a screenshot or a photo of a page. Languages: eng (English) and slv (Slovenian). Returns the text and the engine's confidence; below about 60 the text needs checking.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | Public http(s) address of the image. Use this or image_base64. | |
| languages | No | Default ["eng"]. | |
| image_base64 | No | The image file's bytes, base64-encoded. Use for a local file, e.g. one in the repository. |