design_bom_file
Generates a consolidated BOM from an Altium .SchDoc or .PrjPcb file on disk without Altium by parsing components offline and grouping designators into purchasable lines by MPN, value, and lib reference.
Instructions
Consolidated BOM from a .SchDoc/.PrjPcb on disk: OFF by default.
Offline FALLBACK, same opt-in as design_review_file. Parses the
Altium file directly (no Altium, no license) and groups components
into purchasable BOM lines, one per distinct (mpn, value, lib_reference), designators grouped and naturally sorted, quantity
summed. A .PrjPcb aggregates all its sheets.
Prefer the live-Altium proj_get_bom / proj_export_bom_html
when a session is available. Use this for a file on disk or a CI
artifact.
Enable with EDA_AGENT_HEADLESS_REVIEW=1.
Returns {file, line_count, part_count, lines} where each line is
{quantity, designators, mpn, manufacturer, value, lib_reference, datasheet}: or {"error": ...} if disabled or unreadable
(missing file, a suffix other than .SchDoc/.PrjPcb, or a project
whose sheets cannot be resolved). A design read with zero parts
adds a warning: an empty BOM is not proof of an empty design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||