Remove Diary Entry
remove_diary_entryRemove an entry from the user's diary, such as a wrong match. Use when the user asks to remove something. entry_id comes from the diary, recent meals or a logging result. quantity takes off only that much: it undoes a log that added to an existing entry, whose total_quantity_in_entry is higher than what was just logged.
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": {
"entry_id": "<entry_id>",
"request_id": "<request_id>"
},
"name": "remove_diary_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes | The diary entry to remove. | |
| quantity | No | Only take off this much. Leave out to remove the whole entry. | |
| request_id | Yes | A new unique string for this action. Reuse it only when retrying the same action. |