calculate_bom_requirements
Calculate exact direct, leaf, or net BOM requirements for a product build at one location using available or on-hand stock.
Instructions
Calculate exact direct, leaf, or net BOM requirements at one location.
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": {
"productId": "<productId>",
"buildQuantity": "<buildQuantity>",
"locationId": "<locationId>"
},
"name": "calculate_bom_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | net | |
| maxDepth | No | ||
| productId | Yes | ||
| locationId | Yes | ||
| stockBasis | No | available | |
| maxProducts | No | ||
| buildQuantity | Yes |