Check job status
get_job_checkCheck the status and results of a background job by ID, showing whether it is working, successful, failed, aborted, or unknown.
Instructions
Check the status and results of a job Status can be:
working: background job is currently in work or does not exist.
success: background job was successfully finished.
failed: background job failed for some reason (see message for more details).
aborted: background job was aborted.
unknown: unknown background job id. Available only when force is set to true for input request.
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_job_check"
}
}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) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tips | No | ||
| status | Yes | ||
| content | Yes | ||
| credits_used | No | ||
| credits_remaining | No |