update_context
Save and update user preferences, habits, and facts to remember personal context across AI conversations. Prevents duplicate or outdated entries by checking existing data first.
Instructions
Personal memory system: save user preferences, habits, and facts for personalized assistance across conversations. PROACTIVE: Auto-call when user reveals personal info. Triggers — EN: "like/love/prefer/hate/always/never/I am/I use/my...is" ZH: "喜欢/讨厌/偏好/习惯/每天/总是/从不/我是/我用". Upserts by key. Check existing entries first to avoid duplicates; delete contradicted entries before updating. Auto-infer category (work/personal/health/tech/preference/etc). Tags: include both EN and ZH (e.g. "food"+"食物").
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": "update_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Short label for this context, e.g. "tech_stack", "wake_time" | |
| tags | No | Optional tags for easier searching | |
| value | Yes | The context content to store | |
| category | No | Category for this entry. AI should auto-infer from content. Use lowercase English names such as: work, personal, health, tech, finance, learning, preference. Create new names when none fit. |