Update Goal
update_goalPatch one owned goal by goal_id from get_goals. Set current_value to absolute progress, not a delta. On a rate goal current_value is this month's number and replaces the last one. Omitted fields remain unchanged. Never select a goal by a guessed ID. request_id required. ($0.10; API key required)
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": {
"goal_id": "<goal_id>"
},
"name": "update_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Progress note stored with this update, e.g. Finished week 3. | |
| title | No | Goal title, e.g. Run a half marathon. | |
| status | No | Goal status: active, in_progress, completed, paused or abandoned, e.g. completed. | |
| goal_id | Yes | Goal id, e.g. 3f2a1b4c-8d9e-6f01-c2b3-c4d5e6f70809. | |
| category | No | Goal category, e.g. health. | |
| priority | No | Priority level: high, medium or low, e.g. medium. | |
| obstacles | No | What might get in the way, e.g. Long work travel. | |
| motivation | No | Why the goal matters to the user, e.g. To stay healthy for my kids. | |
| request_id | No | Client idempotency key (retries return original result). | |
| description | No | What the goal is, e.g. Run a half marathon by March. | |
| target_date | No | Target date YYYY-MM-DD, e.g. 2026-12-31. | |
| target_type | No | Goal type: completion, numeric, rate or habit, e.g. numeric. | |
| target_unit | No | Unit for target_value, e.g. km. | |
| target_value | No | Number the goal aims for, e.g. 21. | |
| current_value | No | Absolute progress in target_unit, not a delta, e.g. 12. | |
| habit_frequency | No | How often the habit repeats, e.g. weekly. | |
| idempotency_key | No | Alias for request_id. | |
| checkin_frequency | No | How often to check in on the goal: daily, weekly or monthly, e.g. weekly. | |
| habit_target_count | No | Times per period needed to hit the habit target, e.g. 3. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| goal_id | Yes | ||
| message | Yes | ||
| verified | No | ||
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| progress_logged | No |