get_card_checklists
Retrieve all checklists for a specific Trello card to manage tasks and track progress efficiently.
Instructions
Get all checklists for a specific card.
Args:
card_id (str): The ID of the card to get checklists for
Returns:
List[Dict]: List of checklists on the card
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes |
Implementation Reference
- server/tools/checklist.py:28-38 (handler)The MCP tool handler function for 'get_card_checklists' that retrieves all checklists for a given card by calling the ChecklistService.async def get_card_checklists(card_id: str) -> List[Dict]: """ Get all checklists for a specific card. Args: card_id (str): The ID of the card to get checklists for Returns: List[Dict]: List of checklists on the card """ return await service.get_card_checklists(card_id)
- server/tools/tools.py:32-32 (registration)Registers the 'get_card_checklists' tool with the MCP server.mcp.add_tool(checklist.get_card_checklists)
- server/services/checklist.py:29-39 (helper)The underlying service implementation that performs the actual Trello API call to fetch checklists for the card.async def get_card_checklists(self, card_id: str) -> List[Dict]: """ Get all checklists for a specific card. Args: card_id (str): The ID of the card to get checklists for Returns: List[Dict]: List of checklists on the card """ return await self.client.GET(f"/cards/{card_id}/checklists")