Carbon intensity
get_carbon_intensityGet Danish grid carbon intensity in 5-minute intervals. Find the greenest time to run power-hungry tasks using current readings and forecast.
Instructions
Grams of CO2 per kWh on the Danish grid, in 5-minute resolution, with an optional forecast. Use it to answer when to run something power-hungry. Returns the latest reading, the range over the window, and the greenest upcoming period when the forecast is included.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_carbon_intensity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Default now. Danish local time. Either a timestamp (2026-01-01 or 2026-01-01T00:00) or a relative expression: now, StartOfDay, StartOfMonth, StartOfYear, optionally with an ISO 8601 offset such as now-P1D, now-PT15M, StartOfYear, now+P1D. | |
| start | No | Default now-PT1H. Danish local time. Either a timestamp (2026-01-01 or 2026-01-01T00:00) or a relative expression: now, StartOfDay, StartOfMonth, StartOfYear, optionally with an ISO 8601 offset such as now-P1D, now-PT15M, StartOfYear, now+P1D. | |
| price_area | No | DK1 is west of the Great Belt, DK2 is east | DK1 |
| include_forecast | No | Also read CO2EmisProg for the hours ahead |