get_card_query_results
Retrieve query results from a Metabase card by providing its ID to access business intelligence data through the MCP server.
Instructions
Get the results of a card's query.
Args: card_id (int): ID of the card.
Returns: Dict[str, Any]: Query result data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/enums/request_enum.py:1-11 (helper)RequestMethod enum defining HTTP methods (GET, POST, PUT, DELETE) used by the tool to specify the request type when calling make_metabase_request.
from enum import Enum, auto class RequestMethod(Enum): GET = auto() POST = auto() PUT = auto() DELETE = auto() def __str__(self): return self.name