get_grid_forecast
Forecast hourly electricity-grid carbon intensity by region, so you can decide whether to run an AI task now or defer it to a cleaner hour.
Instructions
Return the projected electricity-grid carbon intensity for a region, hour by hour. Use this when deciding whether to run an expensive AI task now or defer it — intensity is reported in grams CO2-equivalent per kWh with a categorical band (very_clean / clean / average / dirty / very_dirty). Read-only; does not touch the task queue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Forecast horizon in hours (1-72). Defaults to 24. | |
| region | Yes | Electricity Maps grid zone code (e.g. 'US-CAL-CISO', 'US-TEX-ERCO', 'GB', 'FR', 'DE'). On hosts that allow omitting it, defaults to the configured region, else a host-timezone guess, else GB. |