Delete a bill of materials
dolibarr_bom_deletePermanently deletes a bill of materials (BOM) by ID, with a preview-only mode until confirm=true. Requires a reason for the audit log when confirming.
Instructions
Deletes a BOM permanently. This step cannot simply be undone: without confirm=true it only returns a preview.
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": "dolibarr_bom_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bom_id | Yes | ||
| reason | No | One line on why, kept in the audit log. Required when confirm is true. | |
| confirm | No | false (default) = change nothing, only show what would happen. true = do it. Set true only after the user has explicitly agreed to this exact step. |