post_topic_produce
Publish a message to a Kafka topic. Specify cluster, topic, and value, and optionally set key, headers, or target partition to control message routing.
Instructions
Produce 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": {
"cluster": "<cluster>",
"topicName": "<topicName>",
"value": "<value>"
},
"name": "post_topic_produce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Message key | |
| value | Yes | Message value | |
| cluster | Yes | Cluster name | |
| headers | No | Message headers | |
| partition | No | Target partition | |
| topicName | Yes | Topic name |