wc_maint_reset_roles
Reset WooCommerce roles and capabilities, replacing existing role configuration. Ask the user for confirmation before calling with confirm=true.
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": {
"site_id": "<site_id>",
"confirm": "<confirm>"
},
"name": "wc_maint_reset_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true only after explicit user confirmation. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. |