wp_update_category
Update an existing WordPress category's name, slug, parent, or description using its site and category ID.
Instructions
Update a 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": {
"site": "<site>",
"id": "<id>"
},
"name": "wp_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 | URL slug | |
| parent | No | Parent category ID | |
| description | No | Description |