woo_update_category
Updates a WooCommerce product category and changes only the specified fields, leaving all other category data unchanged.
Instructions
Update a product category; only the given fields change
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": "<site>",
"id": "<id>"
},
"name": "woo_update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category ID | |
| name | No | Category name | |
| site | Yes | Site id (see list_sites) | |
| slug | No | Slug | |
| parent | No | Parent category ID (0 = top level) | |
| image_id | No | Thumbnail attachment ID (0 removes it) | |
| description | No | Description |