Food for a day
get_nutritionUse this when the person asks what they've eaten or how their calories and protein are going, and before removing a logged food. Reads a day's food (date null is today): every entry with its id, the totals against the day's targets, their usual foods and saved recipes, and the weight trend. Do not use to log food; use log_foods.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day, as YYYY-MM-DD; null is today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |