Apply changes
zarok_apply_changesApplies up to 20 plan changes atomically. Operation kinds: create_task (a to-do), create_event (a meeting or appointment), create_habit, move_task, update_task (title, time, minutes, note), delete_task (one day only; a course or habit step is skipped for that day), complete_task, uncomplete_task, set_task_meta (priority and tags), delete_habit (removes the whole habit from every day), create_course (date is the start; times are dose times; phases are intake or break periods with days and a dose text), update_course (phases replace the whole list), stop_course (the course ends the day before the date; earlier days and marks stay), create_meal (date, time, title, items; scope one day, forward from the date, or all days; optional every N days or weekdays), update_meal (scope one or forward) and delete_meal (scope one, forward or all). Requires the current plan revision. A repeated request_id with identical operations is applied once. Each change can be undone in Zarok within 24 hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| revision | Yes | ||
| operations | Yes | ||
| request_id | Yes |