add_note
Add a text note to a Cronometer diary day, with optional date, time, and meal group, so it appears alongside food log entries.
Instructions
Add a note to a diary day.
Notes show up in get_food_log's diary as entries of type "Note". Remove one with remove_food_entry and its noteId.
Args: text: The note text. date: Date as YYYY-MM-DD (defaults to today). diary_group: Meal slot the note sits in: "auto" (default, picks by time of day) or the name of one of the account's diary groups, matched ignoring case and whitespace. "auto" requires unique enabled Breakfast, Lunch, Dinner and Snacks groups; otherwise choose an explicit name from get_diary_groups. time: Time of day for the note, 24-hour HH:MM or HH:MM:SS in the account timezone (defaults to now). With diary_group "auto", this also picks the meal slot.
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": {
"text": "<text>"
},
"name": "add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| text | Yes | ||
| time | No | ||
| diary_group | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |