wait_job_completion
Poll a PDF processing job's status at intervals until it completes, then return the finished result.
Instructions
Wait for a job to complete
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": "wait_job_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The ID of the job to get the status of | |
| api_key | No | PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional) | |
| timeout | No | The timeout to wait for the job to complete (seconds) | |
| interval | No | The interval to check the status of the job (seconds) |