delete_checklist
Remove a checklist from Trello to clean up completed tasks or eliminate outdated project components.
Instructions
Delete a checklist.
Args:
checklist_id (str): The ID of the checklist to delete
Returns:
Dict: The response from the delete operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checklist_id | Yes |
Implementation Reference
- server/tools/checklist.py:73-83 (handler)MCP tool handler function that deletes a Trello checklist by delegating to ChecklistService.async def delete_checklist(checklist_id: str) -> Dict: """ Delete a checklist. Args: checklist_id (str): The ID of the checklist to delete Returns: Dict: The response from the delete operation """ return await service.delete_checklist(checklist_id)
- server/tools/tools.py:30-38 (registration)Registration of all checklist-related tools, including delete_checklist, to the MCP server.# Checklist Tools mcp.add_tool(checklist.get_checklist) mcp.add_tool(checklist.get_card_checklists) mcp.add_tool(checklist.create_checklist) mcp.add_tool(checklist.update_checklist) mcp.add_tool(checklist.delete_checklist) mcp.add_tool(checklist.add_checkitem) mcp.add_tool(checklist.update_checkitem) mcp.add_tool(checklist.delete_checkitem)
- server/services/checklist.py:81-91 (helper)Core service method in ChecklistService that executes the Trello API DELETE request to remove the checklist.async def delete_checklist(self, checklist_id: str) -> Dict: """ Delete a checklist. Args: checklist_id (str): The ID of the checklist to delete Returns: Dict: The response from the delete operation """ return await self.client.DELETE(f"/checklists/{checklist_id}")