royal-mcp__wp_create_term
Create a term in any registered taxonomy (category, post_tag, or any custom taxonomy). Description may contain inline HTML — WordPress permits , , , , , , , in term descriptions; block-level tags (, -, ) are stripped by WP core. Use wp_get_taxonomies to discover available taxonomy slugs. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
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": {
"name": "<name>",
"taxonomy": "<taxonomy>"
},
"name": "royal-mcp__wp_create_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | No | Optional URL-friendly slug. Auto-generated from name if omitted. | |
| parent | No | Parent term ID (only applies to hierarchical taxonomies) | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| taxonomy | Yes | Taxonomy slug (e.g. category, post_tag, product_cat) | |
| description | No | Optional description. May contain inline HTML (<a>, <strong>, <em>, etc.); block-level tags are stripped by WP core. |