Update a term
update_termUpdate a term's name, slug, description, parent, or meta in any taxonomy. Changing a slug updates the term archive URL.
Instructions
Update a term's name, slug, description, parent or meta in any taxonomy. Changing a slug changes the term archive URL.
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_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The term ID to update. | |
| meta | No | Custom fields as key/value pairs, for keys registered with show_in_rest. | |
| name | No | Display name. | |
| slug | No | URL slug. | |
| parent | No | Parent term ID, or 0 for none. Hierarchical taxonomies only. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| taxonomy | No | Taxonomy slug or REST base (category, post_tag/tags, or a custom one). | category |
| description | No | Longer descriptive text. |