issue_console_command
Issues MVS system and operator commands through an extended MCS console as a gated write and collects command responses for mainframe diagnostics.
Instructions
Issue an MVS system/operator command through an extended MCS console (gated write). Examples: "D A,L", "D GRS,RES=(*,SYS1.PROCLIB)", "D WLM".
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": {
"command": "<command>"
},
"name": "issue_console_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | MVS command text, e.g. "D A,L" or "D GRS,RES=(*,SYS1.PROCLIB)". | |
| collectKey | No | Response key from a previous call — collects follow-up messages for that command. | |
| consoleName | No | Extended MCS console name (1–8 chars). Defaults to ZOSMF_CONSOLE_NAME. | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |