create_recurring_task
Create a recurring task of any of the repeat dialog's eleven types. Written via /doc/create in the app's own shape, so every type shows correctly in the app's repeat dialog.
Instructions
Create a recurring task of any of the repeat dialog's eleven types. Written via /doc/create in the app's own shape, so every type shows correctly in the app's repeat dialog. Occurrences are created the first time a Marvin client opens after midnight, in the window today to today + Create occurrences — not immediately. Without create_occurrences the account's default applies. After completion: the tool writes the first occurrence on the start day, also when the start day is in the future. Custom accepts only an RRULE string (e.g. 'RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=FR'). New occurrences inherit label, priority, size, note, subtasks, sections and hard deadline (verified against the live API). Only on weekdays: a month day on a weekend is moved to Friday (documented for monthly, verified); every_x_days then counts in weekdays (inferred from a series; the documentation does not mention the type).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note (markdown) | |
| size | No | Size XS-XL | |
| title | Yes | Title | |
| custom | No | custom: an RRULE string, e.g. 'RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=FR' | |
| repeat | Yes | The dialog's eleven types: daily, weekly (weekday), monthly (month_day), x_times_per_week (weekdays), every_x_days / every_x_weeks / every_x_months / every_x_years (interval), after_completion (after_days), on_off (on_days, off_days), custom (custom: an RRULE string, e.g. 'RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=FR') | |
| ends_on | No | Stop repeating on YYYY-MM-DD | |
| on_days | No | on_off: days on | |
| weekday | No | weekly: weekday | |
| interval | No | every_x_*: interval | |
| off_days | No | on_off: days off | |
| priority | No | isStarred 3/2/1/-1 | |
| subtasks | No | Subtasks (titles) | |
| weekdays | No | x_times_per_week: weekdays | |
| label_ids | No | Label IDs | |
| month_day | No | monthly: day of the month | |
| parent_id | No | Category/project ID; omit for the Inbox | |
| starts_on | No | Starts on YYYY-MM-DD; defaults to today | |
| after_days | No | after_completion: days after completion | |
| bonus_section | No | 'Essential' or 'Bonus' | |
| daily_section | No | Day section 'Morning'/'Afternoon'/'Evening' | |
| only_weekdays | No | Only on weekdays (Mon-Fri), only for the types the dialog offers it on. A month day on a weekend is moved to Friday (verified); every_x_days then counts in weekdays (inferred) | |
| if_you_miss_one | No | If you miss one; default = the account's setting | |
| create_occurrences | No | Create occurrences: default (the account's default) or 0/1/3/7/14/30 days ahead | |
| hard_deadline_days | No | Hard deadline: days after the occurrence's day |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||