delete_checkitem
Remove specific items from Trello checklists to maintain organized task management and update project progress.
Instructions
Delete a checkitem from a checklist.
Args:
checklist_id (str): The ID of the checklist containing the item
checkitem_id (str): The ID of the checkitem to delete
Returns:
Dict: The response from the delete operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checklist_id | Yes | ||
| checkitem_id | Yes |
Implementation Reference
- server/tools/checklist.py:129-140 (handler)The MCP tool handler function for 'delete_checkitem', which delegates the deletion to the ChecklistService.async def delete_checkitem(checklist_id: str, checkitem_id: str) -> Dict: """ Delete a checkitem from a checklist. Args: checklist_id (str): The ID of the checklist containing the item checkitem_id (str): The ID of the checkitem to delete Returns: Dict: The response from the delete operation """ return await service.delete_checkitem(checklist_id, checkitem_id)
- server/tools/tools.py:38-38 (registration)Registration of the 'delete_checkitem' tool with the MCP server in the register_tools function.mcp.add_tool(checklist.delete_checkitem)
- server/services/checklist.py:151-164 (helper)The core helper method in ChecklistService that executes the Trello API DELETE request to remove the checkitem.async def delete_checkitem(self, checklist_id: str, checkitem_id: str) -> Dict: """ Delete a checkitem from a checklist. Args: checklist_id (str): The ID of the checklist containing the item checkitem_id (str): The ID of the checkitem to delete Returns: Dict: The response from the delete operation """ return await self.client.DELETE( f"/checklists/{checklist_id}/checkItems/{checkitem_id}" )