calculate_emissions_transaction
Calculate CO2e emissions for a business transaction (spend-based)
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": {
"mcc": "<mcc>",
"spend_amount": "<spend_amount>",
"currency": "<currency>",
"country": "<country>"
},
"name": "calculate_emissions_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcc | Yes | 4-digit MCC code (e.g. 5812 for restaurants) | |
| sic | No | SIC code (2-5 digits) | |
| isic | No | ISIC code (4 digits) | |
| nace | No | NACE code (e.g. 56.10) | |
| year | No | Reporting year (e.g. 2024) | |
| naics | No | NAICS code (6 digits) | |
| country | Yes | ISO 3166-1 alpha-2 country code (e.g. GB, US) | |
| bea_code | No | BEA sector code (5-7 alphanumeric) | |
| currency | Yes | ISO 4217 currency code (e.g. GBP, USD, EUR) | |
| spend_amount | Yes | Transaction spend amount | |
| display_currency | No | Output currency for display |