set_nutrient_target
Set or remove the user's OWN daily target for one vitamin, mineral or other tracked nutrient. Use ONLY when the user explicitly asks to set, change or remove their own target ("set my vitamin D target to 50 mcg"). Never call it on your own initiative, to apply a recommendation, or to act on a lab result. A user target is the user's personal preference, never a clinical prescription; do not present it as one. It replaces the reference intake for that nutrient in every nutrient view. Calories and macros are goals, not nutrient targets.
REQUIRED: target_value and unit unless remove is true. Ask for the unit if the user gave none; never guess mcg vs IU or mg vs g. An omitted upper_limit means the reference upper limit applies. remove=true deletes the user's target so the reference intake applies again.
nutrient accepts a name/alias, or the id (1-44) from get_nutrient_summary's nutrient id dictionary -- pass whichever a prior get_nutrient_summary/get_nutrient_history/get_nutrient_contributors compact reply already gave you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit the user stated, e.g. mg, mcg, IU, g. | |
| notes | No | Why the user set it, in their words. Kept when omitted. | |
| remove | No | true deletes the user's target for this nutrient. Default false. | |
| nutrient | Yes | Nutrient name or alias, e.g. "vitamin_d", "magnesium", "b12" -- or its dictionary id (1-44, e.g. "24" for vitamin_d). | |
| upper_limit | No | The user's own daily ceiling in unit, at least target_value. | |
| target_value | No | Daily target amount in unit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |