get_widget_template
Get a ready-to-fill JSON template for a dashboard widget type.
Get a ready-to-fill JSON template for a dashboard widget type.
Read-only. Safe to call: this tool does not modify data.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
widget_type | string | Yes | Widget type (from list_widget_types): line, area, pie, repartitionChart, counter, title, table, customDisplay |
Example arguments
Illustrative arguments an agent supplies when calling this tool:
{
"widget_type": "string"
}
Description
Includes _metadata with grid constraints, valid operations, schema discovery steps, and layout hints.
PREREQUISITE: Use query_metrics with SHOW MEASUREMENTS and SHOW FIELD KEYS to discover the InfluxDB schema before filling this template.
Related
What's next?
Last updated on