publish_pubnub_message
Send data to a specified PubNub channel by providing the channel name and message payload. Returns a timetoken confirming successful message publication.
Instructions
Publishes a message to a specified PubNub channel. Call this tool whenever you need to send data through PubNub. Provide the channel name and message payload. Returns a timetoken confirming successful publication.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channel | Yes | Name of the PubNub channel (string) to publish the message to | |
message | Yes | Message payload as a string |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"channel": {
"description": "Name of the PubNub channel (string) to publish the message to",
"type": "string"
},
"message": {
"description": "Message payload as a string",
"type": "string"
}
},
"required": [
"channel",
"message"
],
"type": "object"
}