create_task
Creates a new Todoist task with due dates, priorities, labels, project or section assignment, subtasks, and duration estimates.
Instructions
Create a new task with comprehensive properties. Supports content, description, project assignment, section, subtasks (parent_id), priority (1-4, where 4 is urgent), labels, due dates (natural language or specific), and duration estimates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "create_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Task position in the list | |
| labels | No | Array of label names | |
| content | Yes | The task title/content (required) | |
| due_date | No | Specific due date in YYYY-MM-DD format | |
| due_lang | No | Language code for parsing due_string (default: 'en') | |
| duration | No | Duration amount (requires due date to be set) | |
| priority | No | Priority from 1 (normal) to 4 (urgent). Default is 1. | |
| parent_id | No | Parent task ID to create a subtask | |
| due_string | No | Natural language due date (e.g., 'tomorrow at 14:00', 'next monday', 'every day') | |
| project_id | No | Project ID to add task to | |
| section_id | No | Section ID within the project | |
| assignee_id | No | User ID to assign the task to | |
| description | No | Additional task description | |
| due_datetime | No | Specific due datetime in RFC3339 format (e.g., '2024-12-15T14:00:00Z') | |
| duration_unit | No | Duration unit ('minute' or 'day') |