Create goal
create_goalSet a weekly or monthly time goal for an activity. 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": {
"goalType": "<goalType>",
"period": "<period>",
"targetMinutes": "<targetMinutes>"
},
"name": "create_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| goalType | Yes | 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 | Yes | Target in minutes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes |