Check an OCR job
get_ocr_resultCheck an OCR job you queued with ocr_pdf.
Returns job_id and status (queued, running, succeeded or
failed). A succeeded job includes download_url, a link to the
searchable PDF that works for 60 minutes without an API key: give it
to the user. A failed job includes error (one sentence) and code.
Results are deleted 7 days after submission. Requires an API key.
Credits: free. This tool is not metered.
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": {
"job_id": "<job_id>"
},
"name": "get_ocr_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The `job_id` returned by `ocr_pdf`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||