save_preference
Persist user preferences like dietary restrictions, allergies, or budget habits across sessions. Use when the user states a preference.
Instructions
Persist a durable user preference across sessions (dietary rule, allergy, budget habit, tip default). Save when the user states one ('no mushrooms ever', 'I usually tip 20%'). Keep each note short and self-contained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | The preference, e.g. 'Avoid mushrooms in all dishes' | |
| intent | Yes | One short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected. |