add_material_cost
Add a material cost line to an item's price breakdown by specifying material name, unit, consumption rate, unit price, and waste factor.
Instructions
Add a material cost line to an item's price breakdown.
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": {
"item_id": "<item_id>",
"material_name": "<material_name>",
"unit": "<unit>"
},
"name": "add_material_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| material_name | Yes | ||
| unit | Yes | ||
| consumption_rate | No | ||
| unit_price | No | ||
| waste_factor | No |