db_create_kafka_topic
Create a Kafka topic on a Vultr Kafka database using the database ID and topic name. Configure partitions, replication, and retention limits for the new topic.
Instructions
Create a Kafka topic (Kafka databases only).
Args: database_id: The Kafka database ID or label name: Topic name partitions: Number of partitions replication: Replication factor retention_hours: Retention time in hours retention_bytes: Retention size in bytes
Returns: Created topic information
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": {
"database_id": "<database_id>",
"name": "<name>"
},
"name": "db_create_kafka_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| partitions | No | ||
| database_id | Yes | ||
| replication | No | ||
| retention_bytes | No | ||
| retention_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||