Add Goal
add_goalCreate a daily goal to track numeric progress toward an at-least or at-most target, with configurable threshold and timezone.
Instructions
Create a new daily goal to track.
direction: 'at_least' (hit at least the target, e.g. water/steps) or 'at_most' (stay at or under the target, e.g. screen time). threshold_pct: how strict 'met' is. For at_least, % of target required. For at_most, 100 = no slack, lower = more allowed slack. timezone_name: IANA tz string, e.g. 'Asia/Karachi', 'America/New_York'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| unit | Yes | ||
| direction | No | at_least | |
| target_amount | Yes | ||
| threshold_pct | No | ||
| timezone_name | No | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||