delete_attribute_term
Delete a specific term from a WooCommerce product attribute, removing it from all products using that value. Provide the attribute ID and term ID.
Instructions
Delete a value from a product attribute. Removes the term from all products using it.
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": {
"attribute_id": "<attribute_id>",
"id": "<id>"
},
"name": "delete_attribute_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Term ID | |
| force | No | Must be true to delete a term | |
| fields | No | Comma-separated fields to return in response | |
| attribute_id | Yes | Parent attribute ID |