export_bom
Exports a running OrCAD Capture design's bill of materials to BOM text or Excel with title block, item, quantity, references, parts, and optional property columns.
Instructions
Write the bill of materials in the layout of Capture's Tools > Bill of Materials report: a header from the title block of page 1 (Title, Revised, Doc, Revision), then Item / Quantity / Reference / Part with one line per Value (references sorted, comma separated, each multi-section package once).
formats: "bom" = Capture's tab-separated .BOM text (ANSI, CRLF), "xlsx" = the same report as an Excel sheet; default both. properties adds columns after Part (e.g. ["PCB Footprint"]) and also splits lines by them. path: absolute output path, extension optional (default <design name>); existing files are only replaced with overwrite=true.
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": "export_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| design | No | ||
| formats | No | ||
| overwrite | No | ||
| properties | No |