get_job_status
Fetch a specific job's current status, return code, and failure indicator, optionally including spool file inventory for quick mainframe job troubleshooting.
Instructions
Get the current status, return code, and failure indicator for a specific job. Optionally includes spool file inventory.
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": {
"jobId": "<jobId>"
},
"name": "get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | JES job id, e.g. "JOB01234". | |
| jobName | No | Optional job name for confirmation/disambiguation (max 8 chars). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| includeSpoolSummary | No | When true, also list the spool DD inventory below the status block. |