List designs
list_designsLists supported schematic design projects in a directory and returns the exact path each analysis tool needs, so you can query a design without searching the filesystem.
Instructions
List the design projects in a directory, one path each: a .DSN, a .PrjPcb, a .kicad_pro, or a Universal Netlist .netlist.json. That path is what every other tool takes; use this tool instead of searching the filesystem.
path is optional. Omitted or blank, it searches the server's working directory, so check root for the directory actually searched. A misspelled argument name is refused with an error naming it. A result cut short by max_results says so in its notes.
design_variants lists each design's builds: its native variants (Altium, Cadence CIS, KiCad; fabrication where the vendor marks one a build assembly), or <Default> alone when it records none. A design with variants requires design_variant on every query, and <Default> is refused on it.
Cadence: query the .DSN; it carries properties, connectivity, and CIS stuffing. KiCad: query the .kicad_pro; a committed .net export is read directly, otherwise the schematics are read themselves (no KiCad install needed), with kicad-cli as the last resort; a design none of them can read is reported in error.
A design marked unsupported: true cannot be read (for example an OrCAD design saved in an older Capture format); error says why and what to do, and every query on it returns that error, so do not query it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to directory to search for designs | |
| pattern | No | Regex pattern to filter design names | |
| max_depth | No | Max directory recursion depth (0 = no recursion). Omit for unlimited. | |
| max_results | No | Max designs to return. Default: 50. |