wetrack_update_widget
Update a report widget's title, metric, dimension, chart type, or visibility by providing its widget ID and at least one field to change.
Instructions
Update a report widget. At least one field must be provided.
Args: widget_id: Widget ID from wetrack_list_widgets. title: New display title (non-empty if provided). metric: New metric — see wetrack_create_widget for valid values. dimension: New dimension — see wetrack_create_widget for valid values. chart_type: Switch chart type — 'BAR', 'LINE', 'PIE', 'DONUT', 'TABLE', 'AREA'. is_visible: Show/hide the widget (True = show, False = hide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| metric | No | ||
| dimension | No | ||
| widget_id | Yes | ||
| chart_type | No | ||
| is_visible | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |