Get Job Status
get_job_statusTrack the status and progress of an asynchronous job (e.g., document analysis). Returns current state, progress, and result upon completion.
Instructions
Look up the status and progress of a background job previously started by queue_document_analysis, queue_project_analysis, or another async tool. Returns the job state (queued, running, completed, failed), progress, and result when finished. Poll this after enqueuing work; use cancel_job to stop a job.
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": {
"jobType": "<jobType>",
"jobId": "<jobId>"
},
"name": "get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job id returned when the job was enqueued. | |
| jobType | Yes | The kind of job, as returned when the job was enqueued. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Failure reason when the job failed or was not found. | |
| state | Yes | Current job state (e.g. queued, running, completed, failed, not_found). | |
| result | No | Job result when the job has completed. | |
| progress | Yes | Completion progress of the job. |