wc_update_product_category tool reference for StifLi Flex MCP
Writeupdates a product category.
Description
updates a product category.
What it is for
- Renaming or changing description or slug.
Example use case
category rename.
Sample prompt
Update product category ID 22 and rename it from Lighting to Smart Lighting.
Sample response
{
"tool": "wc_update_product_category",
"status": "ok",
"updated": true
}
What does wc_update_product_category do?
updates a product category.
Does wc_update_product_category 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_category be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
