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'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"unit": "<unit>",
"target_amount": "<target_amount>"
},
"name": "add_goal"
}
}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 | |||