mcp_create_term
Creates a term in any WordPress taxonomy, such as categories, tags, or product categories, from a site ID, taxonomy name, and term name.
Instructions
Create a term in any taxonomy
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>",
"taxonomy": "<taxonomy>",
"name": "<name>"
},
"name": "mcp_create_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Term name | |
| site | Yes | Site id (see list_sites) | |
| slug | No | URL slug (derived from the name if omitted) | |
| parent | No | Parent term ID for hierarchical taxonomies (default 0 = none) | |
| taxonomy | Yes | Taxonomy name (e.g. category, post_tag, product_cat) | |
| description | No | Term description, plain text (default empty) |