Request Part Selection
request_part_selectionLets the person adjust boundaries by picking parts (e.g. ZIPs) on the map: puts the open map into select mode on a part_layer, for purpose realign, a new territory, or a plain list. Returns selection_task_id; get_part_selection reports status (awaiting_user_selection, then committed, expired, or cancelled) and the committed part_ids, and its response carries recommended_poll_delay_ms. The commit happens on the map, not in chat. destination_territory_id and realign_operation pre-set a realign. Works on the in-chat map and the map_url tab. A selection the person started from the map legend is read with get_map_selection.
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 | ||
| realign_operation | No | ||
| destination_territory_id | No | ||
| remove_empty_territories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||