run_mqsc
Execute MQSC commands against a queue manager to manage IBM MQ objects, including modifications and deletions. Use specialized query tools when only read-only information is needed.
Instructions
对指定队列管理器执行一条纯文本 MQSC 命令。
可执行任意 MQSC,包括修改和删除类命令(如 DELETE QLOCAL、STOP CHANNEL), 请谨慎使用。只需要查询时,优先用 list_queues / get_queue 等专用工具。
Args: qmgr: 队列管理器名称,例如 QM1 mqsc_command: MQSC 命令,例如 DISPLAY QLOCAL(DEV.QUEUE.1) CURDEPTH
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": {
"qmgr": "<qmgr>",
"mqsc_command": "<mqsc_command>"
},
"name": "run_mqsc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qmgr | Yes | ||
| mqsc_command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |