update_category
Modify a WooCommerce category's name, slug, parent, description, or image. Include only the fields you wish to change.
Instructions
Update a category's name, slug, parent, description, or image. Only include fields you want to 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": {
"id": "<id>"
},
"name": "update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category ID | |
| name | No | Category name | |
| slug | No | Category slug | |
| image | No | Category image URL | |
| fields | No | Comma-separated fields to return in response | |
| parent | No | Parent category ID | |
| description | No | Category description |