update_database
Modify InfluxDB database or bucket settings, including retention period, name, description, and table/column limits, based on deployment type.
Instructions
Update database configuration for InfluxDB. For Cloud Dedicated/Clustered: modify maxTables, maxColumnsPerTable, and retentionPeriod. For Cloud Serverless: modify bucket name, description, and retentionPeriod. For Core/Enterprise: modify retentionPeriod only (Core requires v3.2.0+).
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": {
"name": "<name>"
},
"name": "update_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the database/bucket to update | |
| newName | No | New name for the database/bucket (Cloud Serverless only) | |
| maxTables | No | Maximum number of tables (Cloud Dedicated/Clustered only) | |
| description | No | Description for the bucket (Cloud Serverless only) | |
| retentionPeriod | No | Retention period in nanoseconds (Cloud Dedicated/Clustered, Cloud Serverless, and Core/Enterprise) | |
| maxColumnsPerTable | No | Maximum columns per table (Cloud Dedicated/Clustered only) |