delete win
delete_winDelete one win from the user's wins log, named by its date and its text as list_wins shows them. Use edit_win to correct a win rather than delete it. It asks the user first and removes only that win; resumes and the profile don't change. When the text doesn't match, the reply lists that day's wins instead. Once it's saved, undo can put it back within 24 hours.
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": {
"date": "<date>",
"what": "<what>"
},
"name": "delete_win"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The win's date as list_wins shows it, YYYY-MM-DD | |
| what | Yes | The win's text as list_wins shows it; its first 8 or more characters are enough |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The answer, or what was done, in plain words for the user: the same text as content | |
| undo | No | On a saved write: its undo handle, for undo within 24 hours | |
| widget | No | The card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet |