check_food_fit
Check whether a planned food amount fits today's calorie and macro targets by showing current intake, the food's nutritional addition, and remaining allowances.
Instructions
Would eating this food still fit today's targets? Shows the day's calories and macros now, what the food adds, and what would be left.
Args: food_id: From search_foods. grams: Amount you plan to eat, in grams. date: YYYY-MM-DD (defaults to today).
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": {
"food_id": "<food_id>",
"grams": "<grams>"
},
"name": "check_food_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| grams | Yes | ||
| food_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |