wait_job_completion
Monitor and wait for the completion of a specific job by providing its ID, with configurable check intervals and timeout settings, ensuring efficient task tracking on PDF.co MCP Server.
Instructions
Wait for a job to complete
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | No | PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional) | |
interval | No | The interval to check the status of the job (seconds) | |
job_id | Yes | The ID of the job to get the status of | |
timeout | No | The timeout to wait for the job to complete (seconds) |
Input Schema (JSON Schema)
{
"properties": {
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"title": "Api Key",
"type": "string"
},
"interval": {
"default": 1,
"description": "The interval to check the status of the job (seconds)",
"title": "Interval",
"type": "integer"
},
"job_id": {
"description": "The ID of the job to get the status of",
"title": "Job Id",
"type": "string"
},
"timeout": {
"default": 300,
"description": "The timeout to wait for the job to complete (seconds)",
"title": "Timeout",
"type": "integer"
}
},
"required": [
"job_id"
],
"type": "object"
}