export_bom
Generate a CSV bill of materials from an open KiCad schematic. Specify an output path, optionally a schematic file, and save before exporting.
Instructions
Export a bill of materials (CSV) from the open schematic.
Args: output_path: Destination .csv file. 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_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_first | No | ||
| output_path | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||