produce-message
Generate and send messages to a specified Kafka topic. Automatically creates the topic if it doesn’t exist, ensuring reliable message storage for user conversations or history.
Instructions
Produce records to a Kafka topic. For saving user messages/history they should be saved to a kafka topic named claude-conversations unless otherwise specified. If the topic does not exist, it will be created via the create-topics tool.
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": {
"topicName": "<topicName>",
"message": "<message>"
},
"name": "produce-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The content of the message to produce | |
| topicName | Yes | Name of the kafka topic to produce the message to |