:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(dashboards): surface widget tools in dashboard MCP descriptions (#64348)
Matt Puac5a0c3eeb9c2
diff --git a/products/dashboards/mcp/tools.yaml b/products/dashboards/mcp/tools.yamlindex 84c0117637a7..63254c214e0b 100644--- a/products/dashboards/mcp/tools.yaml+++ b/products/dashboards/mcp/tools.yaml@@ -23,7 +23,8 @@ tools:description: >Create a new dashboard. Provide a name and optional description, tags, and pinned status. Can also createfrom a template or duplicate an existing dashboard. The returned tiles omit insight results to save context- — use dashboard-insights-run to fetch the actual data for each insight.+ — use dashboard-insights-run to fetch the actual data for each insight. To add widget tiles after creation,+ see dashboard-widget-catalog-list for available widget types and dashboard-widgets-batch-add to add them.exclude_params:- creation_mode- effective_restriction_level@@ -283,8 +284,9 @@ tools:Update an existing dashboard by ID. Can update name, description, pinned status, tags, filters, andrestriction level. To update widget tiles, pass `tiles` with each tile's `id` and nested `widget.id` plusfields to change (`config`, `name`, `description`) from dashboard-get — the same PATCH path the UI uses.- There is no separate PATCH .../widgets/:tile_id/ endpoint. The returned tiles omit insight results to save- context — use dashboard-insights-run to fetch the actual data for each insight.+ There is no separate PATCH .../widgets/:tile_id/ endpoint. To add new widget tiles to this dashboard, use+ dashboard-widgets-batch-add instead. The returned tiles omit insight results to save context — use+ dashboard-insights-run to fetch the actual data for each insight.exclude_params:- creation_mode- effective_restriction_leveldiff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex e19e24876324..8cbbf948f81d 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -1671,7 +1671,7 @@}},"dashboard-create": {- "description": "Create a new dashboard. Provide a name and optional description, tags, and pinned status. Can also create from a template or duplicate an existing dashboard. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight.",+ "description": "Create a new dashboard. Provide a name and optional description, tags, and pinned status. Can also create from a template or duplicate an existing dashboard. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight. To add widget tiles after creation, see dashboard-widget-catalog-list for available widget types and dashboard-widgets-batch-add to add them.","category": "Dashboards","feature": "dashboards","summary": "Create dashboard",@@ -1783,7 +1783,7 @@}},"dashboard-update": {- "description": "Update an existing dashboard by ID. Can update name, description, pinned status, tags, filters, and restriction level. To update widget tiles, pass `tiles` with each tile's `id` and nested `widget.id` plus fields to change (`config`, `name`, `description`) from dashboard-get — the same PATCH path the UI uses. There is no separate PATCH .../widgets/:tile_id/ endpoint. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight.",+ "description": "Update an existing dashboard by ID. Can update name, description, pinned status, tags, filters, and restriction level. To update widget tiles, pass `tiles` with each tile's `id` and nested `widget.id` plus fields to change (`config`, `name`, `description`) from dashboard-get — the same PATCH path the UI uses. There is no separate PATCH .../widgets/:tile_id/ endpoint. To add new widget tiles to this dashboard, use dashboard-widgets-batch-add instead. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight.","category": "Dashboards","feature": "dashboards","summary": "Update dashboard",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 60d7ad8634fd..653c2926ad2c 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -1687,7 +1687,7 @@}},"dashboard-create": {- "description": "Create a new dashboard. Provide a name and optional description, tags, and pinned status. Can also create from a template or duplicate an existing dashboard. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight.",+ "description": "Create a new dashboard. Provide a name and optional description, tags, and pinned status. Can also create from a template or duplicate an existing dashboard. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight. To add widget tiles after creation, see dashboard-widget-catalog-list for available widget types and dashboard-widgets-batch-add to add them.","category": "Dashboards","feature": "dashboards","summary": "Create dashboard",@@ -1799,7 +1799,7 @@}},"dashboard-update": {- "description": "Update an existing dashboard by ID. Can update name, description, pinned status, tags, filters, and restriction level. To update widget tiles, pass `tiles` with each tile's `id` and nested `widget.id` plus fields to change (`config`, `name`, `description`) from dashboard-get — the same PATCH path the UI uses. There is no separate PATCH .../widgets/:tile_id/ endpoint. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight.",+ "description": "Update an existing dashboard by ID. Can update name, description, pinned status, tags, filters, and restriction level. To update widget tiles, pass `tiles` with each tile's `id` and nested `widget.id` plus fields to change (`config`, `name`, `description`) from dashboard-get — the same PATCH path the UI uses. There is no separate PATCH .../widgets/:tile_id/ endpoint. To add new widget tiles to this dashboard, use dashboard-widgets-batch-add instead. The returned tiles omit insight results to save context — use dashboard-insights-run to fetch the actual data for each insight.","category": "Dashboards","feature": "dashboards","summary": "Update dashboard",