delete_entry
Delete a food diary entry by providing its ID. The entry is moved to trash for recovery before permanent removal.
Instructions
Delete a diary entry. Get the entry_id from get_diary for the same day. A recoverable copy is written to local trash before deleting.
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>"
},
"name": "delete_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day the entry is on: 'YYYY-MM-DD', 'today', 'yesterday'. | |
| entry_id | Yes | `entry_id` from get_diary. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||