Search nets
search_netsSearch nets by case-insensitive regex to locate signals in a design; results are sorted and grouped by design name, with a notes field when no matches exist.
Instructions
Search for nets matching a regex pattern. Matching is case-insensitive by default. Returns sorted results keyed by design name, with a notes field when nothing matches. KiCad nets declared inside a hierarchical sheet are sheet-path-prefixed (e.g. a "D0" data line on the Peripherals sheet is named "/Peripherals/D0", not "/D0"), so prefer unanchored patterns like "D0" over "^/D0$" or you may miss bussed/hierarchical nets. A name with leading or trailing whitespace also matches as trimmed, so "^SIG$" finds "SIG ". Rejects patterns that match all items; use list_nets for full results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | Yes | Path to design file | |
| pattern | Yes | Regex pattern | |
| design_variant | No | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records none |