bom
Generate a bill of materials from object metadata, merging identical parts by part number, material, and description while summing quantities; returns rows and writes CSV and Markdown files.
Instructions
Bill of materials from object metadata (set_properties: part_no, description, material, supplier, quantity). Identical part_no+material+description lines are merged and quantities summed. Returns the rows and writes CSV and Markdown under workspace/bom//. Mass is volume x material density.
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": "bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| objects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |