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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"card_id": "<card_id>"
},
"name": "get_card_checklists"
}
}Input 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)