Suggest Schematic Declutter
suggest_schematic_declutterReorients overlapping net labels in KiCAD schematics so text lands in free space and remains readable. Returns a dry-run proposal with before/after overlap scores; optionally applies the changes without altering connectivity.
Instructions
Re-orient overlapping net/global labels so their text lands in free space and becomes readable. Each label's (at x,y) anchor is its electrical connection point, so it is held FIXED — only the orientation (0/90/180/270) and justification change, throwing the text away from component bodies and other labels. Connectivity is never altered. DRY RUN by default: returns proposals [{name, at, from_angle, to_angle}] plus an overlap score (before/after) WITHOUT modifying the schematic. Set apply=true to rewrite the label orientations. (Phase 1: labels only; symbol spreading + wire reroute is a separate future capability.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | If true, rewrite the label orientations. Default false (dry run — schematic untouched, proposals only). | |
| margin | No | Extra clearance in mm when testing label overlap (default 0.3). | |
| references | No | Limit which component bodies count as obstacles (default: every component on the sheet). | |
| schematicPath | Yes | Path to the .kicad_sch file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |