update_checkitem
Modify checklist items in Trello by updating names, completion status, or positions to track task progress.
Instructions
Update a checkitem in a checklist.
Args:
checklist_id (str): The ID of the checklist containing the item
checkitem_id (str): The ID of the checkitem to update
name (Optional[str]): New name for the checkitem
checked (Optional[bool]): New checked state
pos (Optional[str]): New position for the item
Returns:
Dict: The updated checkitem data
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": {
"checklist_id": "<checklist_id>",
"checkitem_id": "<checkitem_id>"
},
"name": "update_checkitem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checklist_id | Yes | ||
| checkitem_id | Yes | ||
| name | No | ||
| checked | No | ||
| pos | No |
Implementation Reference
- server/tools/checklist.py:104-126 (handler)The MCP tool handler function for 'update_checkitem'. It delegates to the ChecklistService.update_checkitem method.
async def update_checkitem( checklist_id: str, checkitem_id: str, name: str | None = None, checked: bool | None = None, pos: str | None = None, ) -> Dict: """ Update a checkitem in a checklist. Args: checklist_id (str): The ID of the checklist containing the item checkitem_id (str): The ID of the checkitem to update name (Optional[str]): New name for the checkitem checked (Optional[bool]): New checked state pos (Optional[str]): New position for the item Returns: Dict: The updated checkitem data """ return await service.update_checkitem( checklist_id, checkitem_id, name, checked, pos ) - server/tools/tools.py:37-37 (registration)Registration of the 'update_checkitem' tool with the MCP server.
mcp.add_tool(checklist.update_checkitem)