Tool ReferenceOther
set_map_display
Set Map Display
Change what an ALREADY-OPEN interactive map displays without re-opening it: toggle layers from the map's `display.layers` manifest on or off, move the camera, and drive the time slider. Do NOT call this immediately after interactive_map_app to configure the initial view — layer/camera/time seeds belong in that tool's `display_defaults` and `time_defaults` parameters. Use this tool only to change a map that is already open, in response to a new instruction or user interaction. Pass the `session` from the interactive_map_app result (it identifies ONE map). Only `available:true` manifest ids are legal; layers the user toggled themselves (owner:'user' / user_touched:true) are skipped unless `override_user:true` — set that only when the user explicitly asked; the same arbitration guards a user-owned camera (they panned/zoomed) and time state (they scrubbed). `camera` pans/zooms: {"bbox": [w,s,e,n]} or {"center": [lon,lat], "zoom": n} (+ optional animate_ms). `time` drives the slider: any of bin, mode ('hour'|'cumulative'), show_all, playing, speed_ms. Combine for a zoomed animation: camera={"bbox": ...}, time={"playing": true, "mode": "cumulative", "speed_ms": 250}. Call with no changes to read the current display state. For a different date/peril/storm, re-run interactive_map_app instead. Display sessions are ephemeral UI state (recreatable, server-side TTL), not durable user data.https://mcp.barocline.com/mcphttps://mcpkey.barocline.com/weather-risk/mcphttps://mcpoauth.barocline.com/mcpIdempotent
Parameters
| Name | Type | Required | Default |
|---|---|---|---|
session | string | Yes | - |
turn_on | array | null | No | null |
turn_off | array | null | No | null |
override_user | boolean | No | false |
camera | object | null | No | null |
time | object | null | No | null |
Sample input
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_map_display",
"arguments": {
"session": "value",
"override_user": false
}
}
}{
"name": "set_map_display",
"arguments": {
"session": "value",
"override_user": false
}
}