Set preference
set_preferenceRecord/adjust a learned preference (a tendency, not a fact). Corroboration raises confidence, contradiction lowers it. Upserts by (person, category, key).
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": {
"key": "<key>",
"value": "<value>"
},
"name": "set_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | 'reply_style', 'invoice_day', … | |
| value | Yes | ||
| confidence | No | 0..1; if omitted, corroboration nudges it up / a changed value resets toward 0.5. | |
| category_id | No | ||
| category_slug | No | ||
| subject_person_id | No | Whose preference (omit = the owner). |