Estimate Vehicle
estimate_vehicleEstimate CO2 emissions from driving a vehicle. Provide distance and a vehicle model ID (from Carbon Interface). Returns carbon emissions in grams, kg, and metric tons. Example: estimate_vehicle(100, "7268a9b7-17e8-4c8d-acca-57059252afe9", "mi").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"unit": "mi",
"_apiKey": "your-carbon-interface-api-key",
"distance": 100,
"vehicle_model_id": "7268a9b7-17e8-4c8d-acca-57059252afe9"
},
"name": "estimate_vehicle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Distance unit: "mi" or "km" (default: "mi") | |
| _apiKey | Yes | Carbon Interface API key | |
| distance | Yes | Distance traveled (e.g., 100) | |
| vehicle_model_id | Yes | Carbon Interface vehicle model UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carbon_g | Yes | Carbon emissions in grams | |
| carbon_kg | Yes | Carbon emissions in kilograms | |
| carbon_lb | Yes | Carbon emissions in pounds | |
| carbon_mt | Yes | Carbon emissions in metric tons | |
| estimated_at | Yes | ISO timestamp of estimate | |
| vehicle_make | Yes | Vehicle manufacturer | |
| vehicle_year | Yes | Vehicle year of manufacture | |
| distance_unit | Yes | Distance unit (mi or km) | |
| vehicle_model | Yes | Vehicle model name | |
| distance_value | Yes | Distance traveled |