Skip to main content
Glama

cozi_mark_item_complete

Check off completed items in Cozi lists to track progress and maintain organized family tasks and shopping lists.

Instructions

Mark an item as complete/done in a Cozi list. This checks off the item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesThe ID of the item to mark complete
listIdYesThe ID of the list containing the item

Implementation Reference

  • Handler logic for the 'cozi_mark_item_complete' tool within the executeTool switch statement. It calls the CoziClient's markItem method to mark the specified item as complete and returns a success message.
    case 'cozi_mark_item_complete': { await client.markItem(args.list_id, args.item_id, true); return { success: true, message: 'Item marked as complete', }; }
  • Input schema definition for the 'cozi_mark_item_complete' tool, specifying required list_id and item_id parameters.
    { name: 'cozi_mark_item_complete', description: 'Mark a Cozi list item as complete', inputSchema: { type: 'object', properties: { list_id: { type: 'string', description: 'The ID of the list containing the item', }, item_id: { type: 'string', description: 'The ID of the item to mark complete', }, }, required: ['list_id', 'item_id'], }, },
  • CoziClient helper method that performs the actual API PUT request to mark a list item as complete or incomplete.
    async markItem(listId: string, itemId: string, completed: boolean): Promise<void> { await this.request(`/${this.accountId}/list/${listId}/item/${itemId}`, { method: 'PUT', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ status: completed ? 'complete' : 'incomplete' }), }); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BrandCast-Signage/cozi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server