ensure_map_viewer
[Tier 1 — MC-First Gate] When: after get_map_visualization returns map_url and before any compute, build, analyze, or selection work with a human in the loop. Prerequisites: map_session_id from get_map_visualization. Next: ingest, configure_map, build, realign, or analyze once viewer_status.connected. Surface-agnostic: the in-chat MCP App shell connects the same session over the same SSE channel, so this gate works unchanged whether the human is looking at the in-chat map or the map_url tab. Do not skip it on an Apps host. Scenarios: MV-001, I-1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | ||
| map_session_id | Yes | ||
| guidance_handle | No | ||
| poll_interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||