connect_pins
Connect two component pins in a KiCad schematic using Manhattan (L-shaped) wire routing. Automates pin position retrieval, coordinate calculation, and wire addition in one call.
Instructions
Connect two component pins with Manhattan (L-shaped) wire routing.
Combines get_pin_positions + coordinate math + add_wires into one call.
Args:
ref1: First component reference (e.g. "U1")
pin1: First pin name or number
ref2: Second component reference (e.g. "C3")
pin2: Second pin name or number
schematic_path: Path to .kicad_sch file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref1 | Yes | ||
| pin1 | Yes | ||
| ref2 | Yes | ||
| pin2 | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |