get_dashboard_cards
Retrieve all cards from a specific Metabase dashboard to analyze or manage its visualizations and data components.
Instructions
Get cards in a dashboard.
Args: dashboard_id (int): ID of the dashboard.
Returns: Dict[str, Any]: Cards in the dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/enums/request_enum.py:4-8 (helper)The RequestMethod enum defines the HTTP methods (GET, POST, PUT, DELETE) used by the helper function. The get_dashboard_cards tool uses RequestMethod.GET to specify the HTTP method for the API request.
class RequestMethod(Enum): GET = auto() POST = auto() PUT = auto() DELETE = auto()