wc_update_product tool reference for StifLi Flex MCP
Writeupdates a product by ID.
Description
updates a product by ID.
What it is for
- Changing price, stock, description, SKU, categories, tags, or status.
Example use case
correcting a product record.
Sample prompt
Update product ID 410 to change the regular price, improve the short description, and set the stock quantity to 45.
Sample response
{
"tool": "wc_update_product",
"status": "ok",
"updated": true
}
What does wc_update_product do?
updates a product by ID.
Does wc_update_product 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_product be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
