Todoist ACTION
Update Task
Updates a task. See the documentation
- Action
- Writes data
- Destructive
- OAuth
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Todoist account once, then configure and run Update Task from your backend or agent.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "todoist-update-task",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
todoist: { authProvisionId: "apn_xxxxxxx" },
project: "Project",
task: "Task",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "todoist-update-task",
"configured_props": {
"todoist": { "authProvisionId": "apn_xxxxxxx" },
"project": "Project",
"task": "Task"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "todoist",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "todoist-update-task",
arguments: {
project: "Project",
task: "Task",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
project Project | string | The project containing the task to be updated Optional Dynamic |
task Task | string | The task to update Required Dynamic |
content Content | string | Task Content Optional |
description Description | string | Task description Optional |
labels Labels | string[] | Select labels to add to the task. Optional Dynamic |
priority Priority | integer | Task priority from 1 (normal) to 4 (urgent) Optional |
dueString Due String | string | Human defined task due date (ex.: "next Monday", "Tomorrow"). Value is set using local (not UTC) time. Optional |
dueDate Due Date | string | Specific date in YYYY-MM-DD format relative to user’s timezone Optional |
dueDatetime Due Datetime | string | Specific date and time in RFC3339 format in UTC. Optional |
dueLang Due Language | string | 2-letter code specifying language in case due_string is not written in English Optional |
assignee Assignee | string | The responsible user (if set, and only for shared tasks) Optional Dynamic |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- todoist-update-task
- Version
- 0.0.10
- App
- Todoist
- Authentication
- OAuth
- Read-only
- No
- Destructive
- Yes
- Open world
- Yes
- Source
- View on GitHub ↗