ims_command
Issue IMS commands through the z/OS system console, including display and operational commands, with optional follow-up response collection.
Instructions
Issue an IMS command through the z/OS system console (gated write). Commands are prefixed with "/", e.g. "/DIS ACTIVE", "/DIS TRAN TRAN1", "/DIS PROG PGM1".
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": "ims_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | IMS command, e.g. "/DIS TRAN TRAN1" or "DIS A" (slash added if missing). | |
| collectKey | No | Response key from a previous call — collects follow-up messages. | |
| consoleName | No | Console name; defaults to ZOSMF_CONSOLE_NAME. | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |