export_netlist
Exports a netlist file from a KiCad schematic for PCB layout or simulation. Optionally saves the schematic first.
Instructions
Export a netlist from the open schematic.
Args: output_path: Destination netlist file (e.g. .net). schematic_path: Explicit .kicad_sch path (defaults to the open project's). save_first: Save the schematic before exporting.
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": {
"output_path": "<output_path>"
},
"name": "export_netlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_first | No | ||
| output_path | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||