get_measurement_schema
Retrieves column names, types, and categories for a specified InfluxDB measurement, helping you inspect its schema before querying or writing data.
Instructions
Get the schema (column information) for a specific measurement/table (all versions). Shows column names, types, and categories (time/tag/field).
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": "<database>",
"measurement": "<measurement>"
},
"name": "get_measurement_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Name of the database/bucket containing the measurement | |
| measurement | Yes | Name of the measurement to describe |