Skip to main content

Todoist

Connects to the Todoist REST API for managing tasks and projects. An agent can create, read, update, complete, and list tasks, and list projects.

Add to an agent node's tools array with _node_type: "tool-todoist". See Connector Reference — How connectors are used.

Authentication

FieldRequiredDescription
api_tokenYes (or token)Todoist API token, sent as Authorization: Bearer <token>.
tokenFallbackUsed if api_token is not set.
{
"name": "todoist",
"_node_type": "tool-todoist",
"api_token": "{{ secret.TODOIST_API_TOKEN }}"
}

Tools

todoist_create_task

Create a new task in Todoist.

Parameters

ParameterTypeRequiredDescription
contentstringYesTask content/title
descriptionstringNoTask description
project_idstringNoProject ID (default inbox)
due_stringstringNoDue date in natural language (e.g. tomorrow, next monday)
prioritynumberNoPriority 1-4 (4=highest)
labelsstringNoComma-separated label names

Returns: A confirmation message with the new task's ID, content and URL.

todoist_get_task

Get details of a Todoist task.

Parameters

ParameterTypeRequiredDescription
task_idstringYesTask ID

Returns: The raw JSON response for the task.

todoist_update_task

Update a Todoist task.

Parameters

ParameterTypeRequiredDescription
task_idstringYesTask ID
contentstringNoNew task content
descriptionstringNoNew description
due_stringstringNoNew due date
prioritynumberNoNew priority 1-4

Returns: A confirmation message that the task was updated.

todoist_close_task

Mark a Todoist task as complete.

Parameters

ParameterTypeRequiredDescription
task_idstringYesTask ID to mark as complete

Returns: A confirmation message that the task was marked complete.

todoist_list_tasks

List tasks in Todoist, optionally filtered.

Parameters

ParameterTypeRequiredDescription
project_idstringNoFilter by project ID
labelstringNoFilter by label name
filterstringNoTodoist filter query (e.g. today, overdue)

Returns: A count line followed by a newline-separated list of [id] content (due: ...) lines.

todoist_list_projects

List all Todoist projects.

No parameters.

Returns: A newline-separated list of [id] name lines.

Next