Carbon footprint summary
nourish_carbon_summaryEstimate the carbon footprint of a meal or daily food log in kg CO2-equivalent, and receive lower-carbon swap suggestions for high-emission items.
Instructions
Estimate the carbon footprint (kg CO2-equivalent) of a meal, plus optional lower-carbon swap suggestions. Pass items: [{name, grams}, ...] for an arbitrary meal, OR date: YYYY-MM-DD to compute carbon over that day's logged intake. Data: Agribalyse 3.1 (Etalab Open License) + Our World in Data / Poore & Nemecek 2018 (CC-BY 4.0). Read-only; never mutates state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Compute carbon for all logged intake entries on this date (defaults to today in the active timezone). | |
| items | No | Compute carbon for an explicit list of meal items. Wins over `date` when both are present. | |
| include_swap_suggestions | No | If true, return up to 3 lower-carbon swap suggestions for the highest-emission items in the meal. | |
| response_format | No | json |