get_map_visualization
[Tier 1 — MC-First Entry] FIRST step of non-headless territory work (invariant I-1). When: open a blank map for planning, or open/reuse the user's Map Component for an existing Territory Solution (TS), ts_handle, or completed job. Pass new_project=true to replace the live workspace with an empty project; omitted empty+view reuses the existing project. Optional presentation.view_name: empty | points_only | review | selection (defaults from mode/TS content). Diagnostics: presentation.debug_panel=true. Prerequisites: none (idempotent per user_id). Next: hand user map_url, then ensure_map_viewer until viewer_status.connected. Dual surface (same map_session_id, one map): Apps-capable hosts render this map in chat from ui://easyterritory/map-viewer (_meta.ui.resourceUri); every other client — including Cursor — opens map_url in a browser tab. map_url is always returned. Do not open a second surface or call this tool again to 'fix' a map. Scenarios: MC-000, MC-001, MV-001, S004.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| mode | No | view | |
| job_id | No | ||
| user_id | No | ||
| ts_handle | No | ||
| new_project | No | ||
| presentation | No | ||
| active_tal_id | No | ||
| expiry_seconds | No | ||
| guidance_handle | No | ||
| interaction_flags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||