read_image
Extract text from standalone image files (PNG, JPG, WebP, TIFF, BMP) using OCR to read image content instead of documents; supports multiple Tesseract languages.
Instructions
Extract text from a standalone image file (PNG, JPG, WebP, TIFF, BMP) using OCR. Use this when you need to read text from an image rather than a document; supports multiple languages via tesseract. Read-only.
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": {
"filename": "<filename>"
},
"name": "read_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | The image filename to OCR (must be in the documents directory) | |
| language | No | Tesseract language code (default: DOCS_MCP_OCR_LANG, or "eng"). Use "spa" for Spanish, "fra" for French, etc. |