create_partitions
Expand the number of partitions on a Kafka topic to handle increased throughput. Provide the topic name and the new total partition count.
Instructions
Increases the number of partitions for a topic. Note: Partition count can only be increased, not decreased.
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>",
"new_total_count": "<new_total_count>"
},
"name": "create_partitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_name | Yes | ||
| new_total_count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |