Skip to main content

Todoist

@mgreten/todoistv2026.06.27.1· 10d agoMODELS
01README

Todoist task management integration for swamp — task and project CRUD, filter-based sync, and natural language due dates via the Todoist REST API v2.

02Models1
@mgreten/todoistv2026.06.27.1todoist.ts
fn syncTasks()
Fetch active tasks and write them as resources. Accepts Todoist filter syntax (e.g. 'today', '#Work', '@label', 'priority 1').
fn syncProjects()
Fetch all Todoist projects and sync them as resources
fn createTask(content: string)
Create a new Todoist task
ArgumentTypeDescription
contentstringTask content (title)
fn completeTask(taskId: string)
Mark a task as completed
ArgumentTypeDescription
taskIdstringTodoist task ID
fn updateTask(taskId: string, content?: string, description?: string)
Update fields on an existing task
ArgumentTypeDescription
taskIdstringTodoist task ID
content?stringNew task content
description?stringNew description
fn deleteTask(taskId: string)
Permanently delete a task
ArgumentTypeDescription
taskIdstringTodoist task ID

Resources

task(infinite)— A Todoist task with full metadata
project(infinite)— A Todoist project
03Previous Versions2
2026.06.08.2Jun 8, 2026
2026.06.08.1Jun 8, 2026
04Stats
A
100 / 100
Downloads
5
Archive size
10.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms