Log a meal
log_mealLog something the user ate or drank (e.g. 'I had chickpeas'), described in their words, with carbs if given.
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": {
"description": "<description>"
},
"name": "log_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | When it happened, in the user's local time: 'HH:MM' (today), 'YYYY-MM-DDTHH:MM', or ISO 8601 with offset. Omit it for right now. Never in the future. | |
| carbs_g | No | Carbohydrates in grams, only if the user says so. | |
| description | Yes | What they ate, in their words. |