kafka_produce_message
Send messages to a specified Kafka topic with optional key, JSON/text payload, headers, and partition. Use it to publish data from agents or applications; unavailable in read-only mode.
Instructions
向指定 Kafka 主题发送消息(支持 Key、JSON/文本载荷与 Headers;只读模式下不可用)
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": {
"topic": "<topic>",
"value": "<value>"
},
"name": "kafka_produce_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| topic | Yes | ||
| value | Yes | ||
| headers | No | ||
| partition | No | ||
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||