Weather, air, heights and rivers over an area
area_reportWeather, air quality, heights, air quality stations, river gauges and map layers over a whole region, for maps and comparisons across an area. Use point_report for one place and route_report for a line.
The box is cut into a grid of about cells cells. The answer starts with the grid: rows, cols, lon (the column centres, west to east) and lat (the row centres, north to south). Then comes one key per part in include.
weather and air: {times, values}. times lists the hours (ISO, UTC). values maps each variable to one array per hour, each holding the cells row by row from the north-west corner, so values.temperatureC[h][r * cols + c] is hour h, row r, column c. Weather variables: temperatureC, feelsLikeC, precipitationMm, weatherCode, windKmh, windDirDeg, gustKmh, cloudPct, humidityPct, pressureHpa, boundaryLayerM. Air variables: the names air_quality uses (pm25, pm10, nitrogenDioxide, ozone, europeanAqi and so on).
elevation: {values}, one height per cell in the same order. airStations: {stations}, rivers: {gauges}, up to 500 each, anywhere in the box. layers: one feature collection per layer named in layers (route, protected_area, piste and aerialway when layers is not given).
Limits. The box may cover at most 3,600 square degrees, and at most 16 when include has airStations, rivers or layers. For weather and air, cells times hours may be at most 9,600 (400 cells for 24 hours, 80 cells for 120). Over any limit the whole call fails with an error naming the limit and returns no data; ask for a smaller box, fewer cells or hours, or leave out the parts with the lower limit.
A part that fails on the server (weather data unavailable, say) does not fail the call: the other parts come back and the failed one is named under errors with its reason. The call counts one request for each part asked for in include, the layers part one per layer, whether a part succeeded or not.
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": {
"bbox": "<bbox>"
},
"name": "area_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | [west, south, east, north] in degrees | |
| cells | No | About how many grid cells; the grid keeps cells near square | |
| hours | No | Forecast hours from now for weather and air | |
| layers | No | Map layers to include when include has layers: route, protected_area, piste, aerialway, boundary | |
| include | No | Parts: weather, air, airStations, elevation, rivers, layers; all but layers by default |