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"+"食物").
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. |