add_bom_item
Add a bill of materials line item to a project. Link it to an inventory item to automatically reserve stock for that part.
Instructions
Add a Bill of Materials line item to a project. If linked to an inventory item, it reserves stock.
Args: project: The ID of the project. description: Description of the BOM item (e.g. "M3x8 SHCS"). quantity_needed: Quantity needed. inventory_item: Optional ID of an existing inventory item to link (reserves stock). status: BOM status — 'linked' (auto-reserves), 'unlinked', or 'needs_purchase'. notes: Free-text notes.
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": {
"project": "<project>",
"description": "<description>"
},
"name": "add_bom_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| status | No | unlinked | |
| project | Yes | ||
| description | Yes | ||
| inventory_item | No | ||
| quantity_needed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |