publish_message
Publish a message to a specified ActiveMQ topic using a given connection ID, with optional headers to enrich the message content.
Instructions
Publish a message to a topic
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": {
"connectionId": "<connectionId>",
"topicName": "<topicName>",
"message": "<message>"
},
"name": "publish_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | No | Optional message headers | |
| message | Yes | Message content to publish | |
| topicName | Yes | Name of the topic to publish to | |
| connectionId | Yes | ID of the connection |