create-bucket
Provisions a new bucket under a specified organization, giving write-data calls a destination and supporting optional retention settings.
Instructions
Provision a new bucket under an organization so that subsequent write-data calls have a destination.
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>",
"orgID": "<orgID>"
},
"name": "create-bucket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Friendly bucket name. Follow InfluxDB naming rules (alphanumeric, dashes, underscores). | |
| orgID | Yes | Organization ID (UUID) that will own the bucket. Retrieve it from the organizations resource or create-org output. | |
| retentionPeriodSeconds | No | Optional retention duration expressed in whole seconds. Omit (or pass 0) for infinite retention. |