file_converter_ocr_action
Add a searchable text layer to scanned PDFs using OCR, making documents searchable and copy-pasteable.
Instructions
Add a searchable text layer to scanned PDF files using OCR. Makes scanned documents searchable and copy-pasteable.
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_file_url": "<input_file_url>",
"output_variable_name": "<output_variable_name>"
},
"name": "file_converter_ocr_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file_url | Yes | S3 or public URL of the scanned PDF. | |
| language | No | eng | |
| output_variable_name | Yes | Variable name for the result. | ocr_pdf |