Add consumed item
add_consumed_itemAdd a food item to your YAZIO nutrition diary for a specific date and meal time. Preview the entry, check for duplicates, and get the updated diary after saving.
Instructions
Shows a preview, checks for duplicates, writes idempotently, and rereads the diary. dry_run defaults to true.
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": {
"client_request_id": "<client_request_id>",
"product_id": "<product_id>",
"date": "<date>",
"daytime": "<daytime>",
"amount": "<amount>"
},
"name": "add_consumed_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| amount | Yes | ||
| daytime | Yes | ||
| dry_run | No | ||
| serving | No | ||
| product_id | Yes | ||
| serving_quantity | No | ||
| client_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||