get_checklist
Retrieve a specific Trello checklist by its ID to access task items and completion status for project management.
Instructions
Get a specific checklist by ID.
Args:
checklist_id (str): The ID of the checklist to retrieve
Returns:
Dict: The checklist data
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checklist_id | Yes |
Implementation Reference
- server/tools/checklist.py:15-25 (handler)The handler function for the 'get_checklist' tool. It takes a checklist_id and delegates to the ChecklistService to fetch the checklist data from Trello.async def get_checklist(checklist_id: str) -> Dict: """ Get a specific checklist by ID. Args: checklist_id (str): The ID of the checklist to retrieve Returns: Dict: The checklist data """ return await service.get_checklist(checklist_id)
- server/tools/tools.py:31-31 (registration)Registration of the 'get_checklist' tool in the MCP server using mcp.add_tool.mcp.add_tool(checklist.get_checklist)
- server/services/checklist.py:17-28 (helper)Supporting service method in ChecklistService that makes the actual Trello API call to retrieve the checklist.async def get_checklist(self, checklist_id: str) -> Dict: """ Get a specific checklist by ID. Args: checklist_id (str): The ID of the checklist to retrieve Returns: Dict: The checklist data """ return await self.client.GET(f"/checklists/{checklist_id}")