investigate_incident
Assemble a complete JES job incident bundle—status, root-cause analysis with abend/runbook links, RAG doc excerpts, spool inventory, and diagnostic DD excerpts—to accelerate mainframe troubleshooting.
Instructions
Assemble a full incident bundle for a job: status, root-cause analysis (with abend reference and runbook link), internal-doc excerpts (RAG), complete spool inventory, and diagnostic excerpts from all relevant DDs.
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": "investigate_incident"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | JES job id to investigate, e.g. "JOB01234". | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. | |
| maxExcerptLines | No | Maximum lines to include from each diagnostic spool excerpt. Defaults to 80. Increase for a deeper view. |