analyze_hierarchical_nets
Analyzes every net in a full KiCad schematic hierarchy, classifies nets as power, interface, or signal by name, and returns sheet paths for connectivity review.
Instructions
Analyze all nets of the full schematic hierarchy.
The tool reads the netlist that kicad-cli writes now: the nets of all sheets at each level of the hierarchy. It groups them as power, interface and signal nets (by their names), and gives the sheet paths of the hierarchy.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "analyze_hierarchical_nets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | A .kicad_sch file of the project (the root schematic or a sub-sheet: the tool uses the netlist of the root schematic). | |
| filter_pattern | No | Optional regular expression for the net names (no difference of case). Empty: all nets. | |
| show_hierarchy | No | True (default): list the sheet paths of the hierarchy with their files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |