query_influxql
Run read-only InfluxQL queries against InfluxDB 3 databases. Rejects destructive statements for safe data analysis.
Instructions
Run one bounded, read-only InfluxQL query against an InfluxDB 3 database. Rejects SELECT INTO and destructive statements. Prefer query_sql for SQL prompts; use InfluxQL regex field selection only when the user explicitly asks for InfluxQL or regex field matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Read-only InfluxQL query to run | |
| db | Yes | Database name to query | |
| format | No | Output format for query results | json |
| params | No | Optional query parameters to pass through | |
| maxRows | No | Maximum rows to return. Default 1000; hard max 5000. | |
| timeoutMs | No | Optional query timeout in milliseconds |