connacto
Back to modules

Diet Tracking

Meals, calories, and macros over time, with automatic lookup from a food catalog.

Getting started

Turn it on

This module starts inactive. Ask your agent to activate it, or flip the switch on the Diet Tracking card on the homepage. Activation calls create_database with moduleSlug: "diet-tracking" and a name you choose, and unlocks the tools on this page. If it was active before and got switched off, the same call reactivates it instead of creating a duplicate.

Reference

Fields

What an entry in this module looks like.

FieldTypeNotes
mealstringRequired.
caloriesnumberCalories for this entry. Optional if food_id/meal resolves to a known food and a mass quantity is given or assumed — otherwise required.
protein_gnumber
carbs_gnumber
fat_gnumber
notesstring
food_idstringExact foods.id from diet_tracking_search_foods, if already known. Skips automatic matching.
quantitynumberAmount logged, e.g. 150. Only scales macros automatically when serving_unit is a recognized mass unit (g, kg, oz, lb). Defaults to the matched food's own serving size if a food resolves and this is omitted.
serving_unitstringUnit for quantity, e.g. 'g', 'oz', 'cup'. Non-mass units are stored but not auto-converted.
logged_forstringISO date this meal was eaten, e.g. 2026-08-20. Defaults to today — set this explicitly when backfilling a past meal so it's not counted in today's totals.
Reference

Tools

Diet Tracking has 9 dedicated tools once active: add, list, update, and delete, plus a few built for how this module actually gets used.

diet_tracking_attach_photodiet_tracking_add_entrydiet_tracking_list_entriesdiet_tracking_update_entrydiet_tracking_delete_entrydiet_tracking_daily_totalsdiet_tracking_summary_rangediet_tracking_search_foodsdiet_tracking_nutrient_totals
Full tool reference, with parameters and return values
Try it

Example prompts

Talk to your agent like this once Diet Tracking is active. It picks the right tool and fields on its own.

Log a chicken burrito for lunch, 650 calories, 40g protein.
What did I eat today?
Show me my calorie totals for the last week.
Log 200g of chicken breast for lunch.
How much saturated fat have I eaten this week?