Export PACT footprint
lca_export_pcfExport a saved assessment (a<N>) as a PACT v3.0.3 product footprint file. ref is an a<N> in the workspace named by workspace. The file is in the PACT v3.0.3 data model, structured to the GHG Protocol Product Standard and the PACT Methodology, built from the stored result. The values only the user knows are arguments: company name and URN ids, product URN ids and description, the reference period, fossil and biogenic carbon content (0 if none), the share of emissions left out, whether packaging and CCS are included, the declared unit if the functional unit is not in PACT's units, and the product mass (kg) unless the functional unit is a mass (kg, g or t). The result needs an EF 3.x method (EF 3.1 preferred, AR6) or BAFU's IPCC 2013: only those report biogenic CO2 apart from biogenic methane, as PACT needs. A missing value, any other method or a result outside PACT's bounds is refused, one sentence each. The result lists the fields the file leaves out and why, and carries the file as fenced JSON.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace": "<workspace>",
"ref": "<ref>"
},
"name": "lca_export_pcf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The saved assessment `a<N>` to export. | |
| workspace | Yes | Name of the workspace to work in, as `lca_get(kind='workspaces')` lists it (backticks optional). Named on every call: several conversations can share one connection, and each names its own workspace. The connection's default is often an empty sandbox rather than the user's work. | |
| company_ids | No | URNs identifying the company, e.g. 'urn:pact:company:customcode:buyer-assigned:4321'. | |
| product_ids | No | URNs identifying the product, e.g. 'urn:pact:product:customcode:vendor-assigned:PLY-18'. | |
| company_name | No | The reporting company's name. | |
| geography_country | No | ISO 3166-1 alpha-2 country. At most one geography. | |
| product_description | No | What the product is. | |
| declared_unit_amount | No | With `declared_unit_of_measurement`: how many of that unit one functional unit is. | |
| product_name_company | No | The product's trade name. Omitted: the system's name (the result says so). | |
| reference_period_end | No | Last day of the activity data, included (YYYY-MM-DD, on or after the start). The file states it as midnight at the start of the next day, because PACT's referencePeriodEnd is exclusive. | |
| fossil_carbon_content | No | Fossil carbon content, kg C in one functional unit (the system's declared amount; 0 if none). The file restates it per declared unit. | |
| reference_period_start | No | Earliest date of the activity data (YYYY-MM-DD). | |
| biogenic_carbon_content | No | Biogenic carbon content of the product, kg C in one functional unit (the system's declared amount; 0 if none). Required: PACT's biogenic CO2 uptake is −44/12 × this. The file restates it per declared unit. | |
| product_classifications | No | Optional classification URNs, e.g. 'urn:pact:productclassification:un-cpc:3141'. | |
| exempted_emissions_percent | No | Share of emissions left out of the footprint, in % (0 if none). | |
| declared_unit_of_measurement | No | Only when the functional unit's unit is not one of PACT's: the unit one functional unit is stated in. | |
| packaging_emissions_included | No | Whether packaging emissions are inside the boundary. Ask; omitted, the file leaves it out and says so. | |
| geography_country_subdivision | No | ISO 3166-2 subdivision. At most one geography. | |
| geography_region_or_subregion | No | UN M49 region or subregion. At most one geography. | |
| exempted_emissions_description | No | What was left out, and why. | |
| product_mass_per_declared_unit | No | Mass in kg of the product in one functional unit (the system's declared amount, e.g. 1000 kg for a system declared per 1 t), excluding packaging; 0 for energy, transport or service. Not needed when the functional unit is in kg, g or t. The file restates it per declared unit. | |
| ccs_technological_co2_capture_included | No | Whether carbon capture and storage takes place inside the boundary. Ask; omitted, the file leaves it out and says so. |