calculate_bom_cost
Calculate the total cost of a bill of materials by providing a list of parts with quantities, with optional supplier preferences and assembly quantity.
Instructions
Calculate total cost for a bill of materials.
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": "<bom>"
},
"name": "calculate_bom_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bom | Yes | List of parts with quantities | |
| quantity | No | Number of boards/assemblies | |
| preferred_suppliers | No | Optional supplier preferences |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||