delete_log
Delete ONE entry from the user's log: a food, exercise, weigh-in or water entry. Read get_today/get_day first — each item in recent carries its id and type; pass both. Deleting a weigh-in updates their current weight to the newest remaining one. This can't be undone, so confirm with the user first. Needs the user's "Delete entries" switch for this connection (whatevr app → Settings → Connections). The user is notified.
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": {
"log_id": "<log_id>",
"type": "<type>"
},
"name": "delete_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The item's `type` from `recent`. | |
| log_id | Yes | The item's `id` from get_today/get_day `recent`. |