inv_check_bom
Checks BOM lines against local stock, returns per-line matches and available quantities, and calculates suggested purchase amounts to avoid buying parts you already have.
Instructions
Check BOM lines (as returned by bom_read) against stock.
Per line: matches (exact via TME symbol/MPN; generic value+package lines only get search "candidates" that must be confirmed), available, and suggested_buy: 0 if available >= need, else need - available + spares.
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": {
"lines": "<lines>"
},
"name": "inv_check_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes |