Extract Alignment Branch
extract_tal_branchExtracts one regional branch of a hierarchical alignment (by branch_rollup_territory_id or branch_territory_path) into its own Territory Solution, so a delegate can edit just that region. Returns the extract plus branch_metadata, which reintegrate_branch needs later. exclude_locked (default true) leaves locked territories out.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tal_id": "<tal_id>"
},
"name": "extract_tal_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tal_id | Yes | Hierarchical TAL (alignment) to branch from. | |
| ts_handle | No | Territory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline. | |
| delegate_ref | No | ||
| exclude_locked | No | ||
| map_session_id | No | Open map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set. | |
| expected_revision | No | ||
| branch_territory_path | No | ||
| expected_content_hash | No | ||
| branch_rollup_territory_id | No | Rollup territory whose subtree becomes the branch. Or pass branch_territory_path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | Present when ok is false. | |
| result | No | Present when ok is true. | |
| warnings | No |