Recalculate Diary Day
recalculate_diary_dayUpdate one diary day's totals and goals with its foods as they are now, the same as refreshing the day in the app. Logged days keep their totals when a food is edited, so this is only for when the user asks for a day to be updated. The result has the day's energy before and after, and any insights the app noted.
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": {
"date": "<date>",
"request_id": "<request_id>"
},
"name": "recalculate_diary_day"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The day, YYYY-MM-DD. | |
| request_id | Yes | A new unique string for this action. Reuse it only when retrying the same action. |