edit win
edit_winChange one logged win: its text, result, date, or the role it happened in (company and title from get_profile). Name the win by its date and its text, as list_wins shows them, and put only what changes in set. Use delete_win to remove a win and log_win to add one. It asks the user first and changes only that win. When the text doesn't match, the reply lists that day's wins instead. Returns the changed win. 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>",
"set": "<set>"
},
"name": "edit_win"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | Yes | Only the fields that change; leave the rest empty | |
| 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 |