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

FieldTypeRequiredDescription
widget_typestringYesWidget 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.

What's next?

All MCP tools

Browse the full tool reference by category.

Connect a client

Point Claude, Cursor, or Claude Code at the server.

Last updated on