addedInput schema / $defs
Added value: +{
+ "RepoShape1": {
+ "description": "Several inline stops in one source.",
+ "items": {
+ "$ref": "#/$defs/RepoShape3"
+ },
+ "type": "array"
+ },
+ "RepoShape2": {
+ "additionalProperties": true,
+ "description": "Property equality filter applied to the point layer, e.g. {\"territory_id\": \"<leaf id>\"} after auto_build or {\"bucket_id\": \"d01-b1\"} on <point_layer>_visits after schedule_visits (which also stamps schedule_day, schedule_date, and contractor_id). A display label such as T1 does not match. A list value matches any member.",
+ "type": "object"
+ },
+ "RepoShape3": {
+ "additionalProperties": true,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "properties": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "stop_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ }
+}
addedInput schema / properties / depart_at / description
Added value: +"RFC 3339 departure time. Drives traffic-aware durations. Defaults to now."
changedInput schema / properties / end / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "properties": {
+ "filter": {
+ "$ref": "#/$defs/RepoShape2"
+ },
+ "label": {
+ "type": "string"
+ },
+ "label_field": {
+ "description": "Point property to use as the stop label on the map.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "point_ids": {
+ "description": "Specific point_id values from point_layer (a <point_layer>_visits layer uses <account_id>#<visit_index>). An id that is not a point_id selects every point with that account_id. For an as_given set, this array is also the visit order.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "point_layer": {
+ "description": "Ingested point layer to draw stops from. Resolved against ts / ts_handle / map_session_id.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "stop_id": {
+ "description": "Id for an inline stop. Point-layer stops always use the point's point_id, so a route pushed to Designer links to the same point.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "stops": {
+ "$ref": "#/$defs/RepoShape1"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / end / description
Added value: +"Destination. Required for route_type=tour, rejected otherwise."
removedInput schema / properties / end / title
Removed value: -"End"
addedInput schema / properties / include_geometry / description
Added value: +"Set false to skip the route polyline when only sequence and timings are needed."
addedInput schema / properties / map_session_id / description
Added value: +"Open map session (msess_...) from get_map_visualization. Its Territory Solution is the input; omit ts_handle when set."
addedInput schema / properties / route_id / description
Added value: +"Stable identity for the route inside the solution. A new route_id adds a route alongside the existing ones; reusing a route_id replaces that route in place. To add or drop a stop, call again with the SAME route_id and the revised stop list — there is no add-stop tool and delete_route is for dropping the whole route. Defaults to a slug of route_label, else a generated id."
addedInput schema / properties / route_label / description
Added value: +"Display name for the route on the map and in the legend. Seeds route_id when route_id is omitted."
addedInput schema / properties / route_type / description
Added value: +"circuit returns to start; tour finishes at the declared end (required); open_tour lets the optimizer choose the final stop and never returns to start."
addedInput schema / properties / start / description
Added value: +"Origin. Must resolve to exactly one stop."
addedInput schema / properties / start / properties
Added value: +{
+ "filter": {
+ "$ref": "#/$defs/RepoShape2"
+ },
+ "label": {
+ "type": "string"
+ },
+ "label_field": {
+ "description": "Point property to use as the stop label on the map.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "point_ids": {
+ "description": "Specific point_id values from point_layer (a <point_layer>_visits layer uses <account_id>#<visit_index>). An id that is not a point_id selects every point with that account_id. For an as_given set, this array is also the visit order.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "point_layer": {
+ "description": "Ingested point layer to draw stops from. Resolved against ts / ts_handle / map_session_id.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "stop_id": {
+ "description": "Id for an inline stop. Point-layer stops always use the point's point_id, so a route pushed to Designer links to the same point.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "stops": {
+ "$ref": "#/$defs/RepoShape1"
+ }
+}
removedInput schema / properties / start / title
Removed value: -"Start"
changedInput schema / properties / stop_sets / items / additionalProperties
Previous value: -trueNew value: +false
addedInput schema / properties / stop_sets / items / description
Added value: +"One group of stops. Sets are visited in array order and optimization never moves a stop across a set boundary."
addedInput schema / properties / stop_sets / items / properties
Added value: +{
+ "group_by_field": {
+ "description": "Point property that splits the set into ordered bands, e.g. route_priority. Every band-1 stop precedes every band-2 stop, and stops are optimized within a band.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "group_direction": {
+ "default": "asc",
+ "enum": [
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ },
+ "order": {
+ "default": "optimize",
+ "description": "as_given keeps the declared order; optimize sequences the set to reduce travel.",
+ "enum": [
+ "as_given",
+ "optimize"
+ ],
+ "type": "string"
+ },
+ "set_id": {
+ "description": "Identifier echoed on each stop in the result. Defaults to set-1, set-2, ...",
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": true,
+ "description": "Either inline coordinates or a reference to points already in the territory solution.",
+ "properties": {
+ "filter": {
+ "$ref": "#/$defs/RepoShape2"
+ },
+ "label": {
+ "type": "string"
+ },
+ "label_field": {
+ "description": "Point property to use as the stop label on the map.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "point_ids": {
+ "description": "Specific point_id values from point_layer (a <point_layer>_visits layer uses <account_id>#<visit_index>). An id that is not a point_id selects every point with that account_id. For an as_given set, this array is also the visit order.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "point_layer": {
+ "description": "Ingested point layer to draw stops from. Resolved against ts / ts_handle / map_session_id.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "stop_id": {
+ "description": "Id for an inline stop. Point-layer stops always use the point's point_id, so a route pushed to Designer links to the same point.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "stops": {
+ "$ref": "#/$defs/RepoShape1"
+ }
+ },
+ "type": "object"
+ }
+}
addedInput schema / properties / stop_sets / minItems
Added value: +1
removedInput schema / properties / stop_sets / title
Removed value: -"Stop Sets"
addedInput schema / properties / ts_handle / description
Added value: +"Territory Solution reference (tsh_...) from a build, ingest_accounts, import_geojson, import_designer_project, or get_map_visualization; Territory Solutions are not accepted inline."
removedOutput schema / additionalProperties
Removed value: -true
addedOutput schema / properties
Added value: +{
+ "error": {
+ "description": "Present when ok is false.",
+ "properties": {
+ "ask_user": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "code": {
+ "type": "string"
+ },
+ "details": {
+ "type": "object"
+ },
+ "do_this_next": {
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "result": {
+ "description": "Present when ok is true.",
+ "properties": {
+ "created_at": {
+ "type": "string"
+ },
+ "do_this_next": {
+ "type": "object"
+ },
+ "estimated_remaining_ms": {
+ "type": "integer"
+ },
+ "estimated_start_ms": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "job_id": {
+ "type": "string"
+ },
+ "next_action": {
+ "type": "string"
+ },
+ "next_poll_at": {
+ "type": "string"
+ },
+ "phase": {
+ "type": "string"
+ },
+ "poll_interval_ms": {
+ "type": "integer"
+ },
+ "poll_loop": {
+ "type": "object"
+ },
+ "progress": {
+ "type": "number"
+ },
+ "queue_depth": {
+ "type": "integer"
+ },
+ "queue_lane": {},
+ "queue_position": {
+ "type": "integer"
+ },
+ "recommended_poll_delay_ms": {
+ "type": "integer"
+ },
+ "required_input": {
+ "type": "object"
+ },
+ "result_resource_uri": {
+ "type": "string"
+ },
+ "sleep_ms": {
+ "type": "integer"
+ },
+ "status": {
+ "type": "string"
+ },
+ "status_resource_uri": {
+ "type": "string"
+ },
+ "task_id": {
+ "type": "string"
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "tool_name": {
+ "type": "string"
+ },
+ "total": {
+ "type": [
+ "null",
+ "number"
+ ]
+ },
+ "user_cancelled": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
addedOutput schema / required
Added value: +[
+ "ok"
+]
removedOutput schema / title
Removed value: -"calculate_routeDictOutput"