set_repetition_rule
Configure task repetition rules: set, update, or clear ICS recurrence strings, schedule type, anchor date, catch-up, and end date parameters.
Instructions
Set, update, or clear the repeat rule on a task. Supports ICS rule strings, schedule type, anchor date, catch-up, end date, and repetition count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Set to true to remove the repetition rule from the task. | |
| count | No | Number of repetitions after which the rule ends. Encoded into the rule as COUNT=. | |
| taskId | Yes | The ID of the task to modify | |
| endDate | No | ISO date string for when the repetition ends. Encoded into the rule as UNTIL=. | |
| ruleString | No | ICS recurrence rule string, e.g. FREQ=WEEKLY;INTERVAL=2. Defaults to FREQ=WEEKLY. | |
| scheduleType | No | How the next occurrence is scheduled. Regularly repeats from assigned dates; FromCompletion repeats after completion. | |
| anchorDateKey | No | Which date property is advanced when the task repeats. | |
| catchUpAutomatically | No | When true, missed occurrences are skipped and the next future occurrence is created. |