publish
Send messages to a Redis channel by specifying the target channel and content. Facilitates communication and data distribution within Redis environments.
Instructions
Publish a message to a Redis channel.
Args: channel: The Redis channel to publish to. message: The message to send.
Returns: A success message or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channel | Yes | ||
message | Yes |
Input Schema (JSON Schema)
{
"properties": {
"channel": {
"title": "Channel",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
}
},
"required": [
"channel",
"message"
],
"title": "publishArguments",
"type": "object"
}