Goal history
goal_historyOne goal's progress day by day, newest first: the figure, the fraction of the way there and whether it was met, as the phone computed it on each sync. Use it for how a goal has gone, not only where it stands. The id is from list_goals.
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": "goal_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A goal id from list_goals. | |
| to | No | Last day, inclusive. Omitted: today in the account time zone. | |
| from | No | First day, inclusive. Omitted: 365 days before `to`, the most one call covers. For older rows, call again with an earlier `to`. | |
| client | No | For a coach: a client id from list_clients, to read that client. Omitted: your own account. |