is_root_schematic
Check whether a given .kicad_sch file is the root schematic or a sub-sheet within a hierarchical design.
Instructions
Check if a schematic is the root or a sub-sheet.
Args:
schematic_path: Path to .kicad_sch file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_root | Yes | ||
| root_path | Yes |