list_schematic_nets
Extract the net names from a KiCad schematic file by reading its labels and power symbols, with an option to filter power nets only. Use full hierarchy netlists for sub-sheet nets.
Instructions
Give the nets of a schematic file.
The tool reads the labels and the power symbols of the file. A net with no label of a sub-sheet needs the full hierarchy: use generate_netlist on the root schematic for all nets.
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": "list_schematic_nets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | A .kicad_sch file of the project. | |
| filter_power | No | True gives only the nets whose name has "gnd", "vcc", "vdd", "vss", "+" or "-" (heuristic). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |