add_topic_partitions
Increase the partition count of an existing Kafka topic to handle higher message throughput or improve parallel processing.
Instructions
Add partitions to an existing topic.
Args: environment: The environment name. topic_name: Name of the topic. partitions: New total number of partitions.
Returns: Updated partition count.
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": {
"environment": "<environment>",
"topic_name": "<topic_name>",
"partitions": "<partitions>"
},
"name": "add_topic_partitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | Yes | ||
| topic_name | Yes | ||
| partitions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||