Add Sheet Pin
add_sheet_pinAdds a pin to a sheet symbol in the parent schematic, matching a hierarchical label from the sub-sheet.
Instructions
Add a pin to a sheet symbol block on the parent schematic. Sheet pins are the parent-side connection points that correspond to hierarchical labels in the sub-sheet. The pinName must exactly match a hierarchical_label in the sub-sheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinName | Yes | Pin name — must match a hierarchical_label in the sub-sheet | |
| pinType | Yes | Signal direction (should match the sub-sheet hierarchical label shape) | |
| position | Yes | Pin position [x, y] in mm — must be on the sheet block boundary | |
| sheetName | Yes | Sheet name as it appears in the Sheetname property (e.g. 'Storage') | |
| orientation | No | Pin orientation: 0=right edge of sheet box, 180=left edge (default: 0) | |
| schematicPath | Yes | Path to the PARENT .kicad_sch file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |