request_part_selection
[Tier 2 — Human Spatial Input] When: Monica selects parts on the map for realign, manual territory build, or return_list. Prerequisites: MC-first + viewer connected; part_layer; active TAL when realigning. Poll loop: after submit, poll get_part_selection(selection_task_id) using recommended_poll_delay_ms from the response (or scripts/wait_part_selection.py) until status=committed — never ask the human to type committed/done/go. User-initiated path: Monica may also start select mode from the MC legend finger icon on a part-layer row (no prior request_part_selection). When the user refers to 'my selection' / 'the parts I selected', read the open map session's latest committed selection via get_map_selection(map_session_id) or get_part_selection using active_selection_task_id from ezt://map-sessions/{id}/state — do not ask them to select again. Next: realign, create_territory_from_parts, or analyze with selection.part_ids. Dual surface: in an Apps-capable host the human selects on the in-chat map (ui://easyterritory/map-viewer); otherwise they select in the map_url tab. The commit poll loop above is identical on both surfaces. Scenarios: S001, MC-004..006, RL-006..013.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| prompt | No | ||
| purpose | No | generic | |
| user_id | No | ||
| part_layer | Yes | ||
| active_tal_id | No | ||
| new_territory | No | ||
| expiry_seconds | No | ||
| guidance_handle | No | ||
| realign_operation | No | ||
| destination_territory_id | No | ||
| remove_empty_territories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||