update_bom
Modify a bill of materials by updating line items, quantities, or build counts, and reprice it while preserving available seller or shop choices.
Instructions
Change a BOM: lines [{"ref", "choice": an option id (an offer id, a shop's quote id) or null, "quantity"}], or builds. Re-pricing keeps each choice where that seller or shop is still there. Needs an API key.
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": {
"bom_id": "<bom_id>"
},
"name": "update_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| bom_id | Yes | ||
| builds | No |