OCR - Text from Image/PDF
fc_ocrExtracts text from images and PDFs using OCR, with optional language selection and saving results to a file. Use it to convert scanned documents or screenshots into editable text.
Instructions
Extrahiert Text aus Bildern (JPG/PNG/BMP/TIFF) mittels OCR (Tesseract).
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": {
"file_path": "<file_path>"
},
"name": "fc_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | OCR language (default: eng). Use deu for German, fra for French, etc. | eng |
| file_path | Yes | Path to image (jpg/png/bmp/tiff) or PDF file | |
| output_path | No | Optional: Save extracted text to file |