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
| Field | Type | Required | Description |
|---|---|---|---|
widget_json | string | Yes | JSON 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.
Related
What's next?
Last updated on