Update goal
update_goalUpdate a goal: change status, progress, toggle milestones, or add a progress note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Progress update note (saved in goal timeline) | |
| title | No | New title | |
| status | No | New status | |
| goal_id | Yes | Goal ID | |
| priority | No | Priority: 1=high, 2=medium, 3=low | |
| description | No | New description | |
| start_value | No | Value the goal started from; progress is measured from it (use for goals that go down, e.g. 90 -> 80 kg) | |
| target_date | No | New target date (Y-m-d) | |
| current_value | No | Current value (for numeric goals, >= 0) | |
| target_value_num | No | Target value (numeric and habit goals) | |
| toggle_milestone | No | Toggle milestone by index (0-based). Ticking the last open one completes the goal; unticking reopens it. |