Log a won or lost deal
log_win_lossRecord the outcome of one deal (for many at once use import_win_loss), with the reason if known and the date it closed. This is the most valuable input: it lets Ripplewatch tie a competitor's moves, and its own gaps, to real deals. The competitor is optional because most lost deals never learn who won: log the reason anyway and Ripplewatch will still count it. A competitor that isn't tracked yet is suggested for tracking instead of rejected. Pass the real close date (closed_on), because trends over time depend on it.
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": {
"outcome": "<outcome>"
},
"name": "log_win_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Deal value, if known. | |
| reason | No | Why, in the customer's own words if possible. | |
| outcome | Yes | Whether the account won or lost the deal. | |
| closed_on | No | The date the deal closed, YYYY-MM-DD. Defaults to today. | |
| deal_name | No | The deal or account name, if known. | |
| competitor_name | No | The competitor that won (or was beaten), if the deal named one. Leave out when unknown. |