You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/09/12 18:31:12 UTC
(superset) 01/01: docs(mcp): document restore_chart and restore_dashboard tools
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch docs/pr-41842-needs-docs-feat-mcp-add-restore-chart-an
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 3e9223b4a56deec7598148bc14af614c7abc4a66
Author: rusackas <ev...@rusackas.com>
AuthorDate: Sat Sep 12 11:30:05 2026 -0700
docs(mcp): document restore_chart and restore_dashboard tools
#41842 added the restore_chart and restore_dashboard MCP tools but
didn't add them to the tool reference table, so they were undiscoverable
next to the delete_chart/delete_dashboard entries they pair with.
Co-Authored-By: Evan Rusackas <ev...@preset.io>
Co-Authored-By: Claude Sonnet 5 <no...@anthropic.com>
---
docs/docs/using-superset/using-ai-with-superset.mdx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/docs/using-superset/using-ai-with-superset.mdx b/docs/docs/using-superset/using-ai-with-superset.mdx
index 4ded14cf020..70b0bb69a6f 100644
--- a/docs/docs/using-superset/using-ai-with-superset.mdx
+++ b/docs/docs/using-superset/using-ai-with-superset.mdx
@@ -281,6 +281,7 @@ Ask your admin for the MCP server URL and any authentication tokens you need.
| `update_chart_preview` | Update a cached chart preview without saving |
| `generate_explore_link` | Generate an Explore URL for interactive visualization |
| `delete_chart` | Delete a chart by ID or UUID (soft-deletes to trash when `SOFT_DELETE` is enabled; fails if alerts/reports are still attached, checked before editorship; otherwise returns `permission_denied` if the caller isn't an editor of the chart — owners, Admins, and explicitly granted editors qualify) |
+| `restore_chart` | Restore a soft-deleted chart from trash by ID or UUID; not gated on `SOFT_DELETE`, so rows trashed while it was enabled stay recoverable, but only soft-deleted charts can be restored — permanently deleted charts are unrecoverable; returns `permission_denied` if the caller isn't an editor of the chart |
### Dashboards
@@ -291,6 +292,7 @@ Ask your admin for the MCP server URL and any authentication tokens you need.
| `generate_dashboard` | Create a new dashboard with specified charts |
| `add_chart_to_existing_dashboard` | Add a chart to an existing dashboard |
| `delete_dashboard` | Delete a dashboard by ID, UUID, or slug; leaves its charts intact (soft-deletes to trash when `SOFT_DELETE` is enabled; fails if alerts/reports are still attached, checked before editorship; otherwise returns `permission_denied` if the caller isn't an editor of the dashboard — owners, Admins, and explicitly granted editors qualify) |
+| `restore_dashboard` | Restore a soft-deleted dashboard from trash by ID or UUID (slug lookup does not cover trashed dashboards); not gated on `SOFT_DELETE`, so rows trashed while it was enabled stay recoverable, but only soft-deleted dashboards can be restored — permanently deleted dashboards are unrecoverable; returns `permission_denied` if the caller isn't an editor of the dashboard |
### SQL