sch_netlist
Resolve whole-hierarchy schematic connectivity by exporting every net with its nodes, components, and sheets, giving the source of truth for what connects to what.
Instructions
The resolved connectivity of the whole schematic hierarchy: every net with its nodes (ref, pin, pin function, pin type), every component, every sheet. Exported by kicad-cli from the root sheet and cached until any schematic file changes. This is the source of truth for 'what connects to what'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Ignore the cache and export again. | |
| max_nets | No | ||
| schematic_path | Yes | A .kicad_sch file, absolute or relative to the workspace. Any sheet of the project works; the root sheet is used. | |
| include_components | No | Include the component list (value, footprint, sheet, pins). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nets | Yes | ||
| sheets | Yes | ||
| source | Yes | Root schematic the netlist was exported from. | |
| command | Yes | ||
| cache_hit | Yes | ||
| net_count | Yes | ||
| truncated | No | ||
| components | Yes | ||
| netlist_path | Yes | ||
| component_count | Yes |