create_bom
Create a manufacturing bill of materials (BOM) for a finished product. Specify product ID, quantity, and optionally reference, label, note, and production warehouse.
Instructions
Créer une nomenclature de fabrication
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": {
"fk_product": "<fk_product>",
"qty": "<qty>"
},
"name": "create_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | Quantité produite | |
| ref | No | Référence de la nomenclature | |
| note | No | ||
| label | No | Nom de la nomenclature | |
| fk_product | Yes | ID du produit fini | |
| fk_warehouse | No | ID entrepôt de production |