log win
log_winAdd a new win (something the user did, and its result) to their wins log, for resumes, reviews and Rewinds later. Give the company and title of the role it happened in (from get_profile) when it isn't the current one; without them it goes to the role its date falls in. Use edit_win to change a logged win and add_profile_line for a resume accomplishment; an interview story belongs in the story bank instead. It asks the user first and only adds: logging it twice makes two wins. Returns the saved win with its tags. 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": {
"what": "<what>"
},
"name": "log_win"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | When it happened, as YYYY-MM-DD; leave empty for today | |
| what | Yes | What the user did, in their words | |
| title | No | The title of the role it happened in, as get_profile shows it | |
| result | No | What came of it, ideally with a number, e.g. "cut onboarding time 30%" | |
| company | No | The company of the role it happened in, as get_profile shows it; leave empty to go by the date |
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 |