Read daily totals
list_day_totalsRead what each day adds up to, worked out by Splot: for each local day from from to to (inclusive, up to 92 days), the meals logged and their nutrition added up, the workouts done, the day's mark from list_days and the targets that applied that day. Use this rather than your own sums of list_meals whenever the person asks how a day, a week or a month went, or how they are doing against their targets. A day not listed has nothing logged, which is not a day without food. complete false means a food's value for that nutrient is unknown, so the total is a lower bound, and so is every total of a partial day. average leaves out partial days and days without meals; its days says how many it covers. Planned meals are not counted.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "list_day_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The last local date, inclusive | |
| from | Yes | The first local date, inclusive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| average | Yes |