wp_create_category
Creates a new WordPress category by specifying site and name, with optional slug, parent, and description for organizing content.
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 |
|---|---|---|---|
| name | Yes | Category name | |
| site | Yes | Site id (see list_sites) | |
| slug | No | URL slug | |
| parent | No | Parent category ID | |
| description | No | Description |