track_user_preference
Record user preferences by category and key to build persistent session memory, enabling personalized responses across interactions.
Instructions
Track and learn user preferences
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": {
"category": "<category>",
"preference_key": "<preference_key>",
"preference_value": "<preference_value>"
},
"name": "track_user_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User identifier (defaults to 'default') | |
| category | Yes | Preference category (e.g., 'code_style', 'workflow', 'general') | |
| confidence | No | Confidence score (0.0-1.0) | |
| preference_key | Yes | Preference identifier | |
| idempotency_key | No | Optional idempotency key for safe retries | |
| preference_value | Yes | Preference value |