get_nutrition_history
Retrieve food diary nutrition history with calories and macros, plus day, week, or month totals, to analyze intake over a profile and date range.
Instructions
Read-only. Call check_auth_status first. FitDays 2.0 food diary rows with calories and macros plus day/week/month totals; nutrients are scaled by the logged grams from per-100g food values.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_nutrition_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suid | No | Profile id; defaults to the active profile | |
| limit | No | Maximum rows, default 100, max 1000 | |
| since | No | Earliest intake time (RFC3339 or date) | |
| until | No | Latest intake time (RFC3339 or date) | |
| bucket | No | Aggregation bucket: day, week or month (default day) | |
| offset | No | Rows to skip |