import_netlist
Parses KiCad, Altium, OrCAD, or CSV netlists into a machine-readable board description with MCU pins, nets, peripheral functions, and power/ground nets for automated framework design.
Instructions
Parse a schematic netlist (KiCad .net today) into a machine-readable BoardDescription: the MCU part/family/line, a per-pin map (package pin -> port pin -> net -> inferred peripheral function), and the power/ground nets. This is the input contract for automated framework design. Pass 'path' or 'text'. The result is stored on the session; read views with describe_board.
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": "import_netlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to a netlist file (e.g. board.net). | |
| text | No | Netlist contents inline (alternative to path). | |
| format | No | Netlist format: auto (default), kicad, altium (Protel .NET), orcad (pstxnet.dat) or csv (generic pin-map). | |
| db_path | No | Optional JSON pin-capability DB; when given (or STM32_GDB_MCP_PIN_DB is set), pins are resolved physically (package position -> port pin, AF corroboration). | |
| session | No | Target session id (default 'default'). |