emissions_calculate_batch
Calculate CO2e for up to 100 activities in one call. $0.05 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/emissions/calculate/batch.
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": {
"items": "<items>"
},
"name": "emissions_calculate_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | array (required) - 1-100 calculation items, each {factor_id: string, quantity: number, year?: integer} |