hardware_list
Generates a Markdown or CSV hardware purchase list from declared screws, inserts, magnets, and bearings, merging identical items and flagging unconfirmed specs to check before ordering.
Instructions
What to buy: the bought hardware the script declares in hardware(d) (screws, inserts,
magnets, bearings), as one Markdown table to show the user: Qty | Item | Specification |
Used for | Source/link | Status ("check before ordering" where the specification is not
confirmed: ask the user, never guess it). Identical items are merged and summed. Offer it
when a part declares hardware. name: one part; parts: comma-separated part names to merge
into one list (each may be part:variant); neither: every part in the workspace. variant: the
variant (default: the standard one). count: how many assemblies ("for 4 brackets"), which
multiplies every quantity. format: 'table' (Markdown) or 'csv' (for a spreadsheet or cart).
Reads only hardware(d): builds nothing. The bom and bom_csv export formats write the
same list next to the exports. Changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| count | No | ||
| parts | No | ||
| format | No | table | |
| variant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |