superset_dashboard_update
Modify existing dashboard properties like title, slug, owners, position, and metadata in Apache Superset through API requests.
Instructions
Update an existing dashboard
Makes a request to the /api/v1/dashboard/{id} PUT endpoint to update dashboard properties.
Args: dashboard_id: ID of the dashboard to update data: Data to update, can include dashboard_title, slug, owners, position, and metadata
Returns: A dictionary with the updated dashboard information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_id | Yes | ||
| data | Yes |
Implementation Reference
- main.py:570-592 (handler)The main handler function for the 'superset_dashboard_update' tool. It authenticates, handles errors, and makes a PUT request to the Superset API endpoint /api/v1/dashboard/{dashboard_id} to update the specified dashboard with the provided data.@mcp.tool() @requires_auth @handle_api_errors async def superset_dashboard_update( ctx: Context, dashboard_id: int, data: Dict[str, Any] ) -> Dict[str, Any]: """ Update an existing dashboard Makes a request to the /api/v1/dashboard/{id} PUT endpoint to update dashboard properties. Args: dashboard_id: ID of the dashboard to update data: Data to update, can include dashboard_title, slug, owners, position, and metadata Returns: A dictionary with the updated dashboard information """ return await make_api_request( ctx, "put", f"/api/v1/dashboard/{dashboard_id}", data=data )