Clear run history
clear_historyNeeds the phone link: the person signs in with the 6-digit code from the Kitchen Timer app (⋯ → Link an agent). Permanently delete past run history — all of it, everything older than a date, or all but the newest N runs. There is no undo. Requires confirm: 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": {
"confirm": "<confirm>"
},
"name": "clear_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | No | Delete only runs that ended before this time. Accepts an ISO timestamp, a clock time read in the kitchen's timezone (resolved to today), or a relative form ('7d ago', '-24h'). Omit to consider all runs. | |
| confirm | Yes | Must be true. Guards against an accidental wipe: there is no undo and no client-side backup. | |
| entries | No | Delete exactly these history entry ids (from list_history). | |
| keepLatest | No | Keep only the N most recent runs and delete the rest. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | What just happened, in one line. | |
| deleted | Yes | How many runs were removed. | |
| delivery | Yes | How recently the phone checked in, so you never imply it has seen this. | |
| warnings | Yes | Things worth saying out loud that are not failures. | |
| remaining | Yes | How many runs are left. | |
| oldestRemainingAt | No | When the oldest surviving run ended, ISO 8601. |