set_targets
Define daily nutrition targets from a chosen date, keep unspecified values unchanged, and return the saved targets plus today's totals.
Instructions
Set daily targets starting on a local date (default today). Omitted fields keep their current values; earlier days keep their old targets. Returns the stored targets row and today's totals.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kcal | No | ||
| fat_g | No | ||
| carbs_g | No | ||
| fiber_g | No | Omit if unknown | |
| iron_mg | No | mg; omit if unknown | |
| protein_g | No | ||
| sodium_mg | No | mg; omit if unknown | |
| calcium_mg | No | mg; omit if unknown | |
| water_fl_oz | No | ||
| magnesium_mg | No | mg; omit if unknown | |
| potassium_mg | No | mg; omit if unknown | |
| vitamin_d_mcg | No | mcg | |
| effective_from | No | Local date YYYY-MM-DD. Omit for today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||