Interactive climate risk and weather map
show_risk_mapShows an interactive map of a place in clients that render apps, such as Claude and ChatGPT: this week's forecast risk over the area, hazard events nearby as markers, and the risk by day, which the reader can pan, zoom and open full screen. Instead of the risk, the map can lay the precipitation, temperature or wind forecast under the events (layer), hour by hour over the week, and the reader can switch between all four. A client without apps gets the same summary as text, with a link to the place on Criora's own map.
Use it when the user wants to see the place, the week's risk or the hazards around it on a map, or when a map makes an answer clearer than a list. The figures come from the same sources as get_forecast and get_hazards_near, which give them in full.
Give latitude and longitude, or place, which costs a lookup in the shared geocoder. With both, the coordinates are used and place only names the map, at no lookup: pass the name the user knows the place by, or the map is titled by its coordinates and country.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | What the map shows: this week's forecast risk, the hazard events nearby, or both | both |
| layer | No | The forecast field the map opens on, under the hazard events: the risk (default), or the precipitation, temperature or wind forecast when the question is about the weather itself. The reader can switch between them on the map | risk |
| place | No | A place name or address, used only when latitude and longitude are not given. It is resolved to its best match by a geocoder shared by every user and limited to one lookup a second, so pass coordinates when you have them | |
| latitude | No | Latitude of the place asked about, in degrees, WGS84. Give it with longitude, or give place instead | |
| longitude | No | Longitude of the place asked about, in degrees, WGS84. Give it with latitude, or give place instead |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | This week's forecast risk by day; null when not asked for | |
| layer | Yes | The forecast field the map opens on: risk, precipitation, temperature or wind | |
| place | Yes | ||
| radius_km | Yes | How far the search for events reached | |
| criora_url | Yes | The place on Criora's own map | |
| events_total | Yes | Hazard events found near the place; null when not asked for | |
| resolved_from | Yes | What a place name was resolved to; null when coordinates were given | |
| counts_by_type | Yes | Every event found, by type; null when not asked for |