direct_build
[Tier 1 — Known Assignments Builder] When: user has explicit part-to-territory assignments (spreadsheet, legacy file, hierarchical territory_path). assignments_handle must be a server upload handle (aup_...) from POST /assignments/upload or request_assignment_upload — after parsing rows or passing csv_text/csv_file. Legacy spreadsheets (Postal Code + Territory/Region/Division) are auto-mapped when staged. Conflicting duplicate part_ids default to duplicate_part_policy=keep_first (first wins). Prerequisites: part_layer chosen; viewer connected for MC-first; ts/ts_handle optional. Not for account point locations—use ingest_accounts. Not for balanced partitioning—use auto_build. Not for attribute grouping—use account_build. Next: verify TAL in MC (MC-011), analyze + load_analysis_panel. Scenarios: DB-001..005, MC-011.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| tal_id | No | ||
| tal_label | Yes | ||
| ts_handle | No | ||
| part_layer | Yes | ||
| assignments | No | ||
| repair_policy | No | default | |
| map_session_id | No | ||
| guidance_handle | No | ||
| expected_revision | No | ||
| assignments_handle | No | ||
| missing_part_policy | No | fail | |
| duplicate_part_policy | No | keep_first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||