create_topic
Create a new Kafka topic by specifying a name, number of partitions, replication factor, and optional configuration settings.
Instructions
Creates a new 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": {
"topic_name": "<topic_name>"
},
"name": "create_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | ||
| topic_name | Yes | ||
| num_partitions | No | ||
| replication_factor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |