sch_generate
Create a KiCad schematic file from a declarative netlist of components and connections, ready for review and PCB layout.
Instructions
Generate a .kicad_sch from a declarative netlist spec. The spec lists components (with LCSC C-numbers and footprints) and named nets connecting their pins. The generated schematic passes basic ERC and is ready to open in KiCad for human review and PCB layout.
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": {
"netlist_spec": "<netlist_spec>"
},
"name": "sch_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Title block name. Defaults to the active project's name. | |
| sch_path | No | Optional override for the output path. Defaults to the active project's .kicad_sch. | |
| netlist_spec | Yes | Components + nets. See plugin docs for the schema. |