ocr-pdf
Perform OCR on scanned PDFs to make them searchable. Extract text from image-based PDFs to allow searching and copying.
Instructions
Perform OCR (Optical Character Recognition) on a scanned PDF to make it searchable
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": "<file>"
},
"name": "ocr-pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to perform OCR on | |
| languages | No | OCR languages (ISO 639-3 codes) | |
| outputDir | No | Output directory path | |
| outputFilename | No | Custom output filename |