Save to Designer
push_to_designerSaves a Territory Solution in EasyTerritory Designer from the server. Without project_id it creates a new rolodex project named label (the user's choice; a missing label returns CLARIFICATION_REQUIRED). With project_id it overwrites that project's territories, points, and routes in place. Input: map_session_id, ts_handle, or a completed build job_id. Returns a task; the result has project_id, url, and share_with_user. part_layer_id binds the Designer catalog layer (default: the layer a pulled TAL came from); tal_id picks the alignment, and points are sent with that alignment's territory_id / territory_label; include_points=false sends territories and routes only. Route stops link to point layers by point_id. run_plugin / push_power_bi (default false) run the project's post-save plugin / refresh Power BI. Requires link_designer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "push_to_designer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| job_id | No | task_id (same value as job_id) of a completed build or ingest task; its Territory Solution is the input. | |
| tal_id | No | Alignment to push; defaults to the active TAL. | |
| 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. | |
| project_id | No | Designer project to overwrite in place; omit to create a new project named label. | |
| run_plugin | No | ||
| part_layer_id | No | Designer catalog part layer to bind; defaults to the layer a pulled TAL came from. | |
| push_power_bi | No | ||
| include_points | No | ||
| map_session_id | No | Open map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | Present when ok is false. | |
| result | No | Present when ok is true. A submission returns the task reference (task_id, next_action, sleep_ms); the completed task result carries the remaining fields. | |
| warnings | No |