Dashboards: widget preview
dashboards_widget_previewPreview the data a widget would draw without saving it. Test a saved chart by id or try list, markdown, and view configs before adding them to a dashboard.
Instructions
Show the data a widget would draw, without saving it. Works for a saved chart, given its id, and for list, materialised view, markdown and other widgets, given their config. Use it to see what a saved chart shows now, or to try a widget before adding it with dashboards_add_chart or dashboards_update; use dashboards_data for widgets already on a dashboard. Returns JSON.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dashboards_widget_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Most rows or points to show (default 20) | |
| type | No | Widget type: chart, materialised_view, list, quick_action, markdown, media or getting_started | |
| chart | No | Chart to preview (for a chart widget) | |
| config | No | The widget's settings as JSON, e.g. {"entityName":"orders","limit":5} for a list |