eng_egress_window
Egress window code check (IRC R310) — Checks an emergency escape and rescue opening against IRC R310: net clear area (5.7 sq ft, or 5.0 sq ft at grade floor or basement), 24 in minimum clear height, 20 in minimum clear width, 44 in maximum sill height, and basement window wells (9 sq ft, 36 in width and projection, ladder when deeper than 44 in). Returns PASSES or FAILS, each check, the minimum height or width that would pass, and tips. Can estimate the clear opening from the unit size by window type. Params: width and height (inches). Optional: measure (clear | unit, default clear), type (casement | double-hung | single-hung | slider | awning), floor (upper | grade | basement), sill_height, well_width, well_projection, well_depth (inches). Price: $0.003 USDC (Base, via x402).
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": {
"width": "<width>",
"height": "<height>"
},
"name": "eng_egress_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | e.g. 24 | |
| height | Yes | e.g. 41 |