wc_empty_coupon_trash tool reference for StifLi Flex MCP
Writepermanently deletes all coupons currently in trash.
Description
permanently deletes all coupons currently in trash.
What it is for
- Performing final cleanup after review or retention periods.
- Keeping the coupon table free of obsolete trashed entries.
Example use case
coupon trash cleanup.
Sample prompt
Empty WooCommerce coupon trash and return how many trashed coupons were permanently removed.
Sample response
{
"tool": "wc_empty_coupon_trash",
"status": "ok",
"updated": true
}
What does wc_empty_coupon_trash do?
permanently deletes all coupons currently in trash.
Does wc_empty_coupon_trash 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 manage_woocommerce and the active MCP profile.
How should wc_empty_coupon_trash be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
