calculate_activity
Calculate emissions from activity data by applying emission factors. Automatically converts units and provides scope, source, and calculation steps.
Instructions
Turn activity data into greenhouse-gas emissions: emissions = activity × factor. Give an amount + unit and a factor key; the unit engine converts to the factor basis (MWh→kWh, tonne→kg, gallon→litre, mile→km) and returns the emissions with the working, the GHG Protocol scope, and the source. Use search_factors / lookup_factor to find the factor key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity | Yes | { "value": <number>, "unit": "<unit e.g. kWh, MWh, litres, tonne, km>" }. | |
| factor_key | Yes | Canonical emission-factor key. |