Add Schematic Hierarchical Label
add_schematic_hierarchical_labelAdd a hierarchical label to a sub-sheet schematic, creating a connection point that links to the parent sheet via a matching sheet pin name. Specify position, signal direction, and orientation.
Instructions
Add a hierarchical label (sheet interface port) to a sub-sheet schematic. Hierarchical labels are the connection points that link a sub-sheet to its parent via sheet pins. The label text must exactly match the corresponding sheet pin name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Label text (e.g. 'SD_CLK') — must match the sheet pin name | |
| shape | Yes | Signal direction from the sub-sheet's perspective | |
| position | Yes | Position [x, y] in mm | |
| orientation | No | Rotation in degrees: 0=label points right, 180=label points left (default: 0) | |
| schematicPath | Yes | Path to the sub-sheet .kicad_sch file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |