Skip to content

create_activity

Create a custom activity within a project.

Purpose

Define custom processes or technologies not available in Ecoinvent.

Parameters

Parameter Type Required Default Description
project_id string Yes - Project UUID
code string Yes - Unique activity code (1-100 chars)
name string Yes - Activity name (1-200 chars)
unit string Yes - Measurement unit (validate first!)
location string No "GLO" Location code (max 10 chars)
comment string No None Description (max 1000 chars)
reference_product string No None Product name (max 200 chars)

Returns

Activity UUID, code, name, unit, location, and creation timestamp.

Example

Prompt: Create activity "hydrogen_production" for electrolysis in project abc123

Important

  • Validate unit with validate_unit first
  • Code must be unique within project
  • Use descriptive names