publish_message
Publish a text message to an IBM MQ topic on a specified queue manager, allowing applications to broadcast events or data to subscribers.
Instructions
向主题发布一条文本消息。
Args: qmgr: 队列管理器名称,例如 QM1 topic: 主题字符串,例如 dev/sensor body: 消息正文
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>",
"topic": "<topic>",
"body": "<body>"
},
"name": "publish_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| qmgr | Yes | ||
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |