Egress routes
The way out of every room: how far, how narrow, which rooms have one way out, and the hose stretch.
What it answers
Section titled “What it answers”- How do people get out of each bedroom?
- How much hose do we need to reach the back bedroom?
For the agent, the tool is described as: For one scan: the walking route from every room to the nearest entrance (length, narrowest point, doors), rooms with a single way out, dead-end hallways, bedroom escape windows by sill height, and the hose stretch from each entrance to the farthest point. Returns route overlays and a travel-distance lens.
Who it is for
Section titled “Who it is for”Apartment manager, Community risk reduction officer, Facility manager, Fire captain, Fire training officer, Family planning home security, Los Angeles household preparing for an earthquake, Older adult or family.
Inputs
Section titled “Inputs”| Input | Type | Required | Default | Notes |
|---|---|---|---|---|
scan |
string | yes | Scan id. Filled from the selected building. | |
min_width_m |
number (m) | 0.813 |
Clear width an exit door needs: 32 in (0.813 m). Saved preference access.door_width_m. Range: more than 0.3, at most 3.0. |
|
long_route_m |
number (m) | 22.9 |
Routes longer than this are flagged (75 ft, IBC 2021 Table 1006.2.1 common path of egress travel, Group R-2 without sprinklers). Saved preference fire.long_route_m. Range: more than 1. |
|
hose_m |
number (m) | 61.0 |
Hose length to compare the stretch with (a 200 ft preconnect). Saved preference fire.preconnect_m. Range: more than 5. |
An input that nothing fills (the selected building, a saved preference, a persona’s preset) becomes a question to the person. The agent asks only for those.
Data used
Section titled “Data used”| Layer | Id | Needed | If it is missing |
|---|---|---|---|
| Doors and windows | matterport.openings |
required | The verdict is unknown, with the reason. |
| Room names | matterport.room_labels |
optional | The tool runs without it. |
What it returns
Section titled “What it returns”A tool result: a verdict (pass, warn, fail or unknown), metrics, checks and findings, each with its source.
- Draws on the building: a route with its narrow points; a colour per room; doors, walls or rooms coloured by status; pins on what it found.
- Panel blocks:
VerdictHeader,MetricRow,CheckList,FloorPlanMini,AssumptionChips,StepLog. - Speed: fast. Read-only.
How it works
Section titled “How it works”Egress routes: from every room the route out, its length and narrowest point; rooms with one way out, dead ends, bedroom escape windows, and the hose stretch from each entrance to the farthest point.
Reliability
Section titled “Reliability”Sources this tool gave on the test cafe:
| Where it came from | Layer | Method | Reliability | Note |
|---|---|---|---|---|
| Measured from the scan | matterport |
geometry |
medium | Shortest walkable route over the wall graph in empty rooms; furniture is not counted |
The tool sets the label for each value. A model never does. The tools give a scan’s wall graph the layer matterport whichever device made the scan, so a phone scan’s geometry carries that label too.
Limits
Section titled “Limits”- Needs: doors and windows. On a scan without it, the verdict is
unknownand says why. - A result is a planning aid, not an inspection.
On the made-up test cafe
Section titled “On the made-up test cafe”This section was written by running the tool when the docs were built, on a hand-made RoomPlan export (no real place was scanned), with no sponsor keys and the network switched off.
Pass Routed 4 rooms; the longest walk out is 8.7 m and the narrowest point 0.71 m. Hose stretch to the farthest point: 15 m.
| Value | Result | Where it came from | Reliability |
|---|---|---|---|
| Longest walk out | 8.7 m | Measured from the scan | medium |
| Narrowest point | 0.71 m | Measured from the scan | medium |
| Rooms with one way out | 2 | Measured from the scan | medium |
| Longest hose stretch | 14.9 m | Measured from the scan | medium |
| Entrances | 2 | Measured from the scan | medium |
| Bathroom | 8.7 m | Measured from the scan | medium |
| Storage | 4.2 m | Measured from the scan | medium |
| Dining Room | 4.1 m | Measured from the scan | medium |
| Kitchen | 2.3 m | Measured from the scan | medium |
| Check | Measured | Against | Status |
|---|---|---|---|
| Distance to an entrance, Bathroom | 8.7 | 22.9 m | pass |
| Distance to an entrance, Storage | 4.2 | 22.9 m | pass |
| Distance to an entrance, Dining Room | 4.1 | 22.9 m | pass |
| Distance to an entrance, Kitchen | 2.3 | 22.9 m | pass |
| Widest doorway out, clear width | 0.86 | 0.813 m | pass |
| Doorways to outside or unscanned space on the entry floor | 2 | 2 | pass |
| Longest hose stretch from an entrance | 14.9 | 61 m | pass |
Findings: 6 pass.
What it reported while it ran:
- Found 2 doorways to outside or unscanned space and 3 connections between rooms
- Routed 4 of 4 rooms to the nearest entrance
Run it
Section titled “Run it”threshold run egress_routes --scan <scan-id>curl -X POST http://127.0.0.1:8787/api/tools/egress_routes/run -H 'content-type: application/json' -d '{...inputs}'Over MCP the tool is named egress_routes. See MCP server and CLI.