list_diary_groups
Retrieve your Cronometer's diary groups with their wire indexes and enabled status. Use this to get valid group values for add_food_entry, since group names are user-configured.
Instructions
List this account's diary groups, with the values add_food_entry accepts.
Diary group names are user-configured in Cronometer, so they are NOT always Breakfast/Lunch/Dinner/Snacks. Call this before assuming a name exists — an account may rename any slot or enable extra ones.
Returns each group's wire_index (the 0-based value add_food_entry takes), its name, and whether it is enabled. Only enabled groups can be written to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |