update_category
Updates an existing WordPress category's name, slug, parent, or description by category ID, letting you revise taxonomy details without creating a new category.
Instructions
Update an existing WordPress category
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": {
"category_id": "<category_id>"
},
"name": "update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New category name (optional) | |
| slug | No | New slug (optional; WordPress does not auto-update the slug when the name changes) | |
| parent | No | New parent category ID (optional; use 0 to clear) | |
| category_id | Yes | Category ID to update | |
| description | No | New category description (optional) |