List designs
list_designsLists supported design project files in a directory and returns the path each analysis tool requires, so agents can locate schematics 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. designs is paged: max_results entries (default 50) from offset, and next_offset is set when there are more. Notes about parts and nets cover the page only.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_designs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to directory to search for designs | |
| offset | No | Index of the first designs entry to return, from next_offset. Default: 0. | |
| 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 entries to return. Default: 50. |