calculate_custom¶
Calculate LCA using custom activities from your projects.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
project_name |
string | Yes | Project name (1-200 chars) |
activity_code |
string | Yes | Activity code to calculate |
quantity |
float | Yes | Quantity to analyze (must be > 0) |
method_specification |
string | Yes | Impact method specification |
Returns¶
task_id: For tracking with get_task_statusstatus: "queued"calculation_type: "custom"estimated_wait_time: Seconds
Example¶
Prompt: Calculate carbon footprint of 1 unit from my "Solar Panel Project" using activity "solar_panel_prod"
Workflow¶
- Create project with activities and exchanges
- Submit custom calculation
- Check status with get_task_status
Related Tools¶
- create_project - Setup project
- create_activity - Define activities
- get_task_status - Get results