Widgets
Dashboard widgets, layouts, and computed metrics.
7 tools
# create_widget
Create a dashboard widget
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| type | string | ● | Widget type: metric|project_completion|cycle_time|lead_time|velocity|expected_delivery |
| title | string | — | Widget title |
| project_id | string | — | Project scope (empty=workspace-wide) |
| config | object | — | Widget-specific config |
# list_widgets
List dashboard widgets for the current user
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
# update_widget
Update a widget's title or config
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| widget_id | string | ● | Widget ID |
| title | string | — | New title |
| config | object | — | Updated config |
# delete_widget
Delete a dashboard widget
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| widget_id | string | ● | Widget ID |
# save_widget_layout
Save the widget grid layout for a device type
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| device_type | string | ● | web|mobile|tablet |
| items | array | ● | Layout items [{config_id, x, y, w, h}] |
# get_widget_layout
Get the widget grid layout for a device type
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| device_type | string | — | web|mobile|tablet |
# get_widget_metrics
Compute metrics for a widget (cycle time, velocity, etc.)
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| project_id | string | — | Project ID (empty=workspace-wide) |