joiva_confirm_planned
Confirm a planned Joiva meal (by its entryId) as actually eaten. It is logged with the time of confirmation (not the planned time) and now counts towards the day's totals. grams corrects the portion.
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": {
"entryId": "<entryId>"
},
"name": "joiva_confirm_planned"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grams | No | Corrected portion, if it differed from the plan | |
| entryId | Yes | ||
| unitCount | No | How many of that unit. | |
| unitLabel | No | Unit of the corrected portion, e.g. 'Ei M'. Only takes effect together with `grams`. |