update_recurring_task
Change a recurring task: rule, window, place, end date, properties. Existing occurrences are not corrected when the rule changes via the API, and a later save in the app does not correct them either; they keep their old shape.
Instructions
Change a recurring task: rule, window, place, end date, properties. Existing occurrences are not corrected when the rule changes via the API, and a later save in the app does not correct them either; they keep their old shape. When the rule is changed in the app's dialog, the app itself removes those that no longer match. When type, interval or Create occurrences change, the tool then works out which open, untouched occurrences from today on do not match the new rule or window. Mode 'list' (default): they are listed and removed only with confirm=true (without deletedDates: they do not come back if they do not match the rule, and outside the window they should come back). Changed occurrences, occurrences before today, custom rules that are not RRULEs and Only on weekdays are listed only. Deleted occurrences can remain visible in an open client until it reloads. New occurrences follow a rule and properties changed via the API, counted from the start day. Custom accepts only an RRULE string. Lowering Create occurrences via the API removes nothing, not even at the next generation; the app's dialog removes untouched upcoming occurrences when the lowering is saved there. confirm=true does what the dialog does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note (replaces) | |
| size | No | Size XS-XL, '' removes it | |
| title | No | New title | |
| custom | No | custom: an RRULE string, e.g. 'RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=FR' | |
| repeat | No | New type (not to/from after_completion). 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') | |
| confirm | No | True = remove the occurrences the cleanup listed | |
| ends_on | No | End date YYYY-MM-DD, '' removes it | |
| on_days | No | on_off | |
| weekday | No | weekly | |
| interval | No | every_x_* | |
| off_days | No | on_off | |
| priority | No | isStarred 3/2/1/-1, 0 removes it | |
| weekdays | No | x_times_per_week | |
| label_ids | No | Labels (replaces) | |
| month_day | No | monthly | |
| parent_id | No | Move the recurring task (the next occurrences land there) | |
| subtasks_add | No | New subtasks on the recurring task | |
| bonus_section | No | Essential/Bonus, '' removes it | |
| daily_section | No | Day section, '' removes it | |
| only_weekdays | No | Only on weekdays: a month day on a weekend is moved to Friday (verified); every_x_days counts in weekdays (inferred) | |
| if_you_miss_one | No | If you miss one | |
| recurring_task_id | Yes | The recurring task's ID (recurringTaskId on an occurrence) | |
| create_occurrences | No | default/0/1/3/7/14/30 | |
| hard_deadline_days | No | Hard deadline, 0 = off |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||