Check NEC working clearance for a panel
find_clearanceCheck whether the NEC 110.26 working clearance zone in front of an electrical panel is clear or intruded in 3D. Target the panel by external_id or name substring to get the zones and intruders.
Instructions
Check an electrical panel's NEC 110.26 working clearance in 3D.
Use this to answer "is the working space in front of this panel clear?"
The backend builds the code-required clearance zone(s) in true 3D and
reports whether anything intrudes. Pass the returned draw block to the
draw_clearance viewer command to show the zones (green clear, red
intruded); this tool does NOT change the view by itself.
Target the panel either by external_id or by a description substring that must resolve to exactly one panel. If the description matches none or several, the result says so — ask the user to clarify.
The check is directional (projected off the panel's working face) when
the panel is mounted on a wall or column, and an honest all-around
maintenance-access check when the panel is freestanding — the mode and
rule fields say which, and the all-around mode is labeled as
NEC-derived guidance rather than the literal front-only rule.
Example: - By id: external_id= - By name: description="circuit breaker switchboard"
Returns:
{"external_id", "asset_type", "description", "mode", "rule",
"mounting_surface", "clearance": {"zones": [...]},
"intruders": [{external_id, asset_type, description}],
"clear": bool|None, "draw": {...}}. clear is None when no rule is
defined for the category.
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": "find_clearance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | The element category. v1 supports electrical_panels only; the clearance rule is NEC 110.26 working space. | electrical_panels |
| description | No | A substring of the panel's name (e.g. 'circuit breaker switchboard'). The backend resolves it to the single matching electrical panel. Provide this OR external_id; prefer it when the user names the panel so you need not look up an id first. | |
| external_id | No | The externalId of the electrical panel to check. Provide this OR description. Get an id from find_by_category(category='electrical_panels') when you have one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||