Bill of materials
asm_bomGenerates a top-level assembly bill of materials grouped by GOST 2.106 sections with designation, name, quantity, and material; optionally exports to .xlsx for checks or drafts.
Instructions
Bill of materials of an assembly (top level) grouped by ГОСТ 2.106 sections: Сборочные единицы, Детали, Стандартные изделия — designation, name, quantity, material. Optionally written to .xlsx. This is NOT a KOMPAS specification document (.spw): use it as a check or a draft.
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": {
"doc": "<doc>"
},
"name": "asm_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Assembly document handle | |
| xlsx_path | No | also write an .xlsx (inside the allowed roots); existing files are not replaced |