set_nutrient_target
Set a nutrient's daily minimum, upper limit, or tracking visibility in Cronometer. Only the values you pass change, so turning tracking on or off keeps any existing target intact.
Instructions
Set a nutrient's daily target, its upper limit, or whether it is tracked.
Giving a minimum or maximum makes it a custom target, replacing the default Cronometer works out from the profile. Setting visible turns tracking of that nutrient on or off, which is how a micronutrient starts showing up in the diary at all.
Only what you pass changes: the rest of the nutrient's settings are read first and kept, so turning on visibility never disturbs an existing target.
Going back to Cronometer's own default is done in the app, under Settings then Targets. Report the current value from get_targets before overwriting one, so it can be put back by hand if wanted.
Args: nutrient: Nutrient name, e.g. "protein", "iodine", "choline", "biotin". Call list_nutrients for the accepted names. minimum: Daily target, in that nutrient's own unit. maximum: Upper limit, in that nutrient's own unit. visible: True to track the nutrient, False to hide it.
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": {
"nutrient": "<nutrient>"
},
"name": "set_nutrient_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maximum | No | ||
| minimum | No | ||
| visible | No | ||
| nutrient | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |