create_task
Create a new task with optional due date, parent task, labels, and recurrence patterns such as daily, weekly, or every N days.
Instructions
Create a new task.
complete_by must be an ISO-8601 UTC timestamp.
parent_id attaches the new task as a child of an existing task.
productive and desire are floats in [0, 1] representing how
productive this task feels and how much the user wants to do it.
recurrence sets a repeat schedule. Use {"type": "daily"},
{"type": "every_n_days", "n": 3}, or
{"type": "weekly", "days": ["Mon", "Wed", "Fri"]}.
recurring_type controls behavior when a recurring task is missed.
Must be one of "chore" (lingers until done, default),
"habit" (fresh start each day), or "event" (time-bound,
can't be made up). Only meaningful when recurrence is set.
v0.2 optional field:
occurrence_id: when this Task is a materialized subtask of a recurring entity's occurrence, the Occurrence id it belongs to. Normal tasks omit this field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| description | Yes | ||
| labels | No | ||
| parent_id | No | ||
| assignee | No | ||
| complete_by | No | ||
| productive | No | ||
| desire | No | ||
| recurrence | No | ||
| recurring_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |