mcp_create_term
Create a term in any WordPress taxonomy for a specific site. Provide taxonomy, name, and optional slug, parent, and description to add categories, tags, or custom terms.
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 | |
| parent | No | Parent term ID (for hierarchical taxonomies) | |
| taxonomy | Yes | Taxonomy name | |
| description | No | Term description |