Search PDF Content with OCR
search-pdf-content-with-ocrOCR a scanned PDF and search for text in it. Always runs asynchronously and returns a job id; poll "check-job-status" or provide "webhook_url" to receive a callback. The completed job result contains matches with their positions.
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>",
"text": "<text>"
},
"name": "search-pdf-content-with-ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | No | Whether the search is case-sensitive. | |
| file | Yes | Publicly reachable URL of the (scanned) PDF file to OCR and search. | |
| text | Yes | Text or pattern to search for. | |
| regex | No | Whether to interpret "text" as a regular expression. | |
| webhook_url | No | Callback URL invoked when the async job finishes. Omit and poll "check-job-status" instead if no callback endpoint is available. |