remove_inventory_unit
Removes a stock line by its unit id. The parent item's stock totals are recomputed from remaining lines. Returns true if a line was removed.
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": {
"unitId": "<unitId>"
},
"name": "remove_inventory_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unitId | Yes |