validate_widget

Dry-run validation of a dashboard widget.

Dry-run validation of a dashboard widget.

Read-only. Safe to call: this tool does not modify data.

Parameters

FieldTypeRequiredDescription
widget_jsonstringYesJSON string of the widget data section (same format as the template output, without _metadata)

Example arguments

Illustrative arguments an agent supplies when calling this tool:

{
  "widget_json": "string"
}

Description

Checks type, structure, query fields, placeholder detection, and per-type constraints. Returns errors and warnings without modifying any dashboard.

Use before add_dashboard_widget to catch errors early.

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