pdf_ocr
Extract text from scanned PDFs or images using OCR, converting them into plain text files or searchable PDFs.
Instructions
Performs OCR on a PDF. [Input: Scanned PDF / Image | Output: Plain Text (.txt) / PDF]
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": {
"input": "<input>",
"output": "<output>"
},
"name": "pdf_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| output | Yes | The output PDF file path. |