Log a choice or purchase
log_choiceRecord a tool the user explicitly picked/rejected/tried/starred, or PURCHASED. Call it with action 'purchased' right after the user tells you they bought a paid plan of a listed tool (ask first; never log silently), and again later with action 'feedback' once they have used it for a while (e.g. weekly), passing rating and what worked / fell short. Optional fields apply to purchased/feedback only. Stored anonymously under the key; forget_me deletes it. picked/rejected also shape whats_new.
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": {
"id": "<id>",
"action": "<action>"
},
"name": "log_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| key | No | ||
| plan | No | Plan bought, e.g. 'Pro monthly' | |
| combo | No | Ids of other tools used together with this one | |
| action | Yes | ||
| period | No | ||
| rating | No | ||
| worked | No | What worked well (short, no personal data) | |
| price_usd | No | Price paid per period in USD | |
| fell_short | No | What fell short (short, no personal data) |