alter-topic-config
Modify Kafka topic configurations in Confluent Cloud by setting or deleting parameters. Specify the topic name, cluster ID, and desired configurations to update.
Instructions
Alter topic configuration in Confluent Cloud.
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": {
"topicName": "<topicName>",
"topicConfigs": "<topicConfigs>"
},
"name": "alter-topic-config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | The base URL of the Confluent Cloud Kafka REST API. | |
| clusterId | No | The unique identifier for the Kafka cluster. | |
| topicConfigs | Yes | ||
| topicName | Yes | Name of the topic to alter | |
| validateOnly | No |