Drawing inspect

Tool ID: drawing_inspect

Purpose and availability

Inspect saved orthogonal schematic routes, fixed endpoint records and bounded wire crossings/overlaps without rendering or changing the circuit. This is a drawing-record inspection, not electrical connectivity validation or a visual pass.

Prerequisites and invocation

1. Run drawing_diagrams; select an exact saved schematic ID, not a map row. 2. Pass its 64-character lowercase SHA-256 as expected_artifact and its exact ID as diagram_id. Do not pass a file path, name or foreign candidate ID. 3. offset starts at 0; limit defaults to 50 and admits 1–50. Follow next_offset with the same artifact to page explicit routes. Branches absent from a focused diagram are intentionally not drawn; a present branch with no explicit route is instead a reported limitation. 4. Retain the exact branch_id from a route before requesting quality or a proposal.

Exact input schema

{
  "additionalProperties": false,
  "properties": {
    "diagram_id": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    },
    "expected_artifact": {
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
    },
    "limit": {
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "offset": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "expected_artifact",
    "diagram_id"
  ],
  "type": "object"
}

Results and units

schema=powersystem-schematic-inspection/1, candidate_id, artifact and diagram_id bind the inspection. routes includes exact branch_id, saved name, points, from_bus_id, to_bus_id and native_route_shape_preserved; points use native drawing units, not GPS coordinates or physical distance. total counts pageable explicit routes, not all network branches. issues uses code, severity, branch IDs and relevant endpoint/segment details. Review inspection_truncated, label_geometry_available=false, symbol_geometry_available=false, label_check_status="unavailable" and native_visual_review_required=true; no reported collision does not mean that labels were checked.

Limits and recovery

The profile admits at most 2000 candidate branches, 2–256 points per route and 200 retained issues; its comparison scan is bounded. inspection_truncated=true is incomplete evidence, not a clean drawing. Paging never lifts scan limits. no-explicit-route or native-route-shape-unavailable means saved points do not establish an actual preserved native path; unlocked automatic paths can regenerate. Invalid layout/schema, diagonal/zero-length/self-intersecting geometry and stale/foreign/mismatched anchors remain explicit. Retain the source and inspect/correct the detached native drawing deliberately; never guess ports or normalize imported data. Rediscover a stale expected_artifact. If budgets are exhausted, reduce the admitted drawing/input explicitly in a separately retained copy rather than hiding warnings or raising limits. Reinspect after an authorized change; do not retry inference automatically.

AI and human boundaries

This tool is read-only in Plan and Build. The server binds candidate_id; it is not a selectable input. artifact is the SHA-256 of the exact saved candidate archive, not an approval or a new engineering version. engineering_approval=false always. No tool installs a proposal, saves a circuit, edits Original/Main, switches the human editor, accepts engineering or fetches map tiles. Native visual review and an explicitly authorized detached edit remain separate. See AI drawing workflow and Human review.