price_bom
Price an entire design in one call and group lines into the orders they become, with per-line offers, shop quotes, text-line part matching, and ready cart and checkout arguments.
Instructions
Price a whole design in one call and group it into the orders it would become. lines: [{"ref", "part": a part
id} or {"ref", "text": "6811ZZ bearing"} (bought), or {"ref", "made": {"process", "material", "part": as
quote_made_part takes it}} (made), each with "quantity" per build]. Each line's options: its offers or its shops'
quotes; a text line says which part it matched and what else it might be. Nothing is chosen for you (update_bom).
The chosen lines become carts (make_cart) and one quote a shop (quote_shop_order); checkout is start_checkout's
arguments. 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": {
"lines": "<lines>"
},
"name": "price_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| lines | Yes | ||
| builds | No |