wp_create_category
Create a new WordPress category by specifying the site and category name, with optional slug, description, parent ID, and term meta fields for organizing posts.
Instructions
Create a new 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>",
"name": "<name>"
},
"name": "wp_create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Registered term meta fields (show_in_rest) as key/value | |
| name | Yes | Category name | |
| site | Yes | Site id (see list_sites) | |
| slug | No | URL slug | |
| parent | No | Parent category ID (default 0 = top level) | |
| description | No | Description |