Update goal
update_goalChange the target, type, period or activity of a goal. Pro feature.
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": {
"id": "<id>"
},
"name": "update_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Goal id from get_goal_progress | |
| period | No | ||
| goalType | No | at_least: spend at least the target; at_most: stay under the target | |
| activityId | No | Activity id from list_activities | |
| activityName | No | Activity name, when the id is not known. Case-insensitive; prefix matches work. | |
| targetMinutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes |