wc_update_stock tool reference for StifLi Flex MCP
Writeupdates the stock quantity of a product with `set`, `increase`, or `decrease` operations.
Description
updates the stock quantity of a product with `set`, `increase`, or `decrease` operations.
What it is for
- Adjusting inventory from AI or automations.
Example use case
receiving new inventory.
Sample prompt
Increase the stock of product ID 410 by 25 units after the latest warehouse delivery.
Sample response
{
"tool": "wc_update_stock",
"status": "ok",
"updated": true
}
What does wc_update_stock do?
updates the stock quantity of a product with `set`, `increase`, or `decrease` operations.
Does wc_update_stock modify store data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with edit_products and the active MCP profile.
How should wc_update_stock be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
