zos_connect_call_service
Invoke mainframe programs (CICS, IMS, batch) by calling z/OS Connect services with a JSON payload and operation method.
Instructions
Call a z/OS Connect service to interact with mainframe programs (CICS, IMS, batch). Requires ZOS_CONNECT_URL to be configured.
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": {
"service_name": "<service_name>"
},
"name": "zos_connect_call_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | JSON payload to send to the mainframe service | |
| operation | No | Operation/method to invoke (e.g., GET, POST) | POST |
| service_name | Yes | Name of the z/OS Connect service to call |