Create a task
create_taskAdd a new task to a Google Tasks list, specifying due date, notes, and position as a subtask or after an existing task.
Instructions
Creates a task in a list and returns it (id, title, position, webViewLink, ...). due accepts YYYY-MM-DD or an RFC3339 timestamp, but Google Tasks stores only the DATE — any time of day is discarded and never returned. notes is plain text (max 8192 chars); title max 1024 chars. Hierarchy and order are set at creation via parent (the id of an existing task in the same list — the new task becomes its subtask; Google Tasks supports one level of nesting reliably) and previous (the sibling to insert after; omit both to land at the top of the list). New tasks start as needsAction — use complete_task to complete. Recurrence cannot be created or read through the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | Due date: YYYY-MM-DD or RFC3339. Only the date is stored — the time part is discarded. | |
| notes | No | Free-text notes shown under the title (max 8192 chars). | |
| title | Yes | The task title (max 1024 chars). | |
| parent | No | Parent task id in the same list — makes the new task a subtask. | |
| previous | No | Sibling task id to insert after (same parent). Omit to insert at the first position. | |
| tasklist_id | Yes | The task list id — from list_tasklists or create_tasklist output. "@default" addresses the user's default list. |