update_chart
Update an existing chart by modifying its title, visualization type, or parameters. Optionally validate changes without applying them.
Instructions
Update an existing chart's title, viz type, or parameters.
Use list_charts to find the chart_id. Pass params_json as a JSON string to override visualization parameters (metrics, groupby, filters, etc.).
params_json uses strict semantics: when provided, it is treated as a full chart params payload for validation. For viz types with required fields (for example pie/timeseries), include those fields in the payload instead of sending partial patches.
Args: chart_id: ID of the chart to update title: New chart title viz_type: New visualization type params_json: JSON string of chart parameters (advanced — use get_chart to inspect existing chart params first). Strict semantics: provide a complete params payload compatible with the chart viz type. dashboards: Reassign chart to these dashboard IDs validate_after_update: Run chart-data validation after update dry_run: If True, validate inputs, capture current state, and return a preview without making any changes (default: False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_id | Yes | ||
| title | No | ||
| viz_type | No | ||
| params_json | No | ||
| dashboards | No | ||
| validate_after_update | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |