get_units¶
List all available measurement units in the database.
Purpose¶
Discover valid units for LCA calculations and custom activity creation.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
database |
string | Yes | Database version |
Returns¶
Complete list of units grouped by category: mass, energy, volume, area, length, time, transport, and special units.
Example¶
Prompt: Show all available units in ecoinvent-3.11-cutoff
Common Units¶
- Mass: kilogram, ton, gram
- Energy: kilowatt hour, megajoule, gigajoule
- Volume: cubic meter, liter
- Transport: ton kilometer, person kilometer
- Special: unit (dimensionless), hour, year
Tips¶
- Use full names in API calls
- Check category for appropriate unit type
- Validate units before creating activities
Related Tools¶
- validate_unit - Verify specific unit
- create_activity - Use units