extract_bill_of_materials
Extract a bill of materials from block insertions and attributes, converting placed blocks into rows and attribute tags into columns for ERP/PLM readiness. Optionally filter by block name.
Instructions
Extract a bill of materials from block insertions and their attributes.
Each placed block becomes a row and each attribute tag becomes a column, which
is the shape drawing data has to be in before it can reach an ERP or a PLM
record. Pass block to restrict the extract to one block name.
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": {
"path": "<path>"
},
"name": "extract_bill_of_materials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| block | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| rows | Yes | ||
| row_count | Yes | ||
| attribute_columns | Yes |