Skip to content

Add CRUD operations for task lists#21

Open
Juxsta wants to merge 2 commits into
zcaceres:mainfrom
Juxsta:feature/tasklist-crud
Open

Add CRUD operations for task lists#21
Juxsta wants to merge 2 commits into
zcaceres:mainfrom
Juxsta:feature/tasklist-crud

Conversation

@Juxsta

@Juxsta Juxsta commented Jan 25, 2026

Copy link
Copy Markdown

Summary

  • Add TaskListActions class with CRUD operations for Google Task Lists
  • Register 5 new MCP tools: list-tasklists, get-tasklist, create-tasklist, update-tasklist, delete-tasklist
  • Include validation for required parameters and title length (max 1024 chars)
  • Prevent accidental deletion of the default task list

New Tools

Tool Description
list-tasklists List all task lists with pagination support
get-tasklist Get details of a specific task list by ID
create-tasklist Create a new task list
update-tasklist Update a task list's title
delete-tasklist Delete a task list (protected against deleting @default)

Test plan

  • Run list-tasklists to verify all lists are returned
  • Run create-tasklist with a title to create a new list
  • Run get-tasklist with the returned ID to verify details
  • Run update-tasklist to rename the list
  • Run delete-tasklist to remove the test list
  • Verify delete-tasklist with @default returns an error

Juxsta and others added 2 commits January 25, 2026 13:33
- Add TaskListActions class with list, get, create, update, delete methods
- Register 5 new MCP tools: list-tasklists, get-tasklist, create-tasklist, update-tasklist, delete-tasklist
- Include validation for required parameters and title length
- Prevent deletion of default task list
- Add includeCompleted parameter to list and search tools to fetch
  hidden completed tasks from the API
- Add status filter parameter to filter results by needsAction or
  completed status
- Fix search results count to show filtered count instead of total

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant