check_job
Retrieve the current JES state for a job ID, showing whether it is queued, executing, held, on output, or not found. 'last' refers to the most recently submitted job.
Instructions
Return the current JES state of a job.
States: ON INPUT QUEUE | EXECUTING | ON HOLD QUEUE |
ON OUTPUT QUEUE | NOT FOUND | UNKNOWN.
Args:
job_id: JES job id (e.g. JOB01234). The literal "last"
resolves to the most-recently-submitted id this session.
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": "check_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |