Export Sch Python Bom
export_sch_python_bomExport the legacy Python-BOM XML netlist from a .kicad_sch schematic, producing the intermediate file consumed by Python BOM scripts.
Instructions
Export the legacy Python-BOM intermediate XML from a schematic via kicad-cli (sch export python-bom). This is the XML netlist consumed by the schematic editor's Python BOM scripts. Minimal option set (output + input only). schematicPath is REQUIRED.
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": {
"schematicPath": "<schematicPath>",
"outputPath": "<outputPath>"
},
"name": "export_sch_python_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Output XML file path | |
| schematicPath | Yes | Path to the .kicad_sch (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |