Use this page
Change daily targets
Changes your daily targets from a given day.
WRITEset_targets
Your assistant changes your targets only when you ask. They apply from the day you choose, usually today, and earlier days keep theirs. A change needs calories, protein, carbs and fat together, so your assistant asks for any you leave out.
The API has no equivalent.
Inputs
Section titled “Inputs”| Input | Type | Description |
|---|---|---|
from | date | Required. |
values | object or null | Required. |
through | date |
What your assistant is told
Section titled “What your assistant is told”The tool’s own instructions, word for word, as every assistant receives them.
Change the person's daily calorie and macro targets when they ask. from is the local date the change starts, usually today; earlier days keep theirs. Add through (inclusive) only to limit the change to certain days, such as through equal to from for one day. values needs all four of caloriesKcal, proteinG, carbsG and fatG; ask for any not given rather than inventing them, or pass values null to stop targets from that day. Nothing else can be saved, such as diet, allergies or an iron target: say so and use it only in this conversation. Confirm the change only after success.
Use this page
Last updated