copy_metabase_dashboard
Duplicate an existing Metabase dashboard to create a new version with custom name, description, and collection placement. Optionally copy linked cards for comprehensive replication.
Instructions
Copy a dashboard.
Args: from_dashboard_id (int): ID of the source dashboard to copy. name (str): Name for the new dashboard. description (str, optional): Description for the new dashboard. collection_id (int, optional): Collection ID for the new dashboard. is_deep_copy (bool, optional): Whether to perform a deep copy (copy linked cards too). collection_position (int, optional): Position in the collection.
Returns: Dict[str, Any]: New dashboard metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_dashboard_id | Yes | ||
| name | Yes | ||
| description | No | ||
| collection_id | No | ||
| is_deep_copy | No | ||
| collection_position | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/enums/request_enum.py:1-11 (schema)RequestMethod enum defining HTTP methods (GET, POST, PUT, DELETE) used for API requests. The copy_metabase_dashboard handler uses RequestMethod.POST for the copy operation.
from enum import Enum, auto class RequestMethod(Enum): GET = auto() POST = auto() PUT = auto() DELETE = auto() def __str__(self): return self.name