create_category
Adds a new category to a WordPress site with name and optional slug, parent ID, and description.
Instructions
Create a new category in WordPress site.
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": {
"category_name": "<category_name>"
},
"name": "create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | The slug for the category - default: None | |
| parent_id | No | The ID of the parent category - default: None | |
| description | No | The description of the category (accepts HTML tags) - default: None | |
| category_name | Yes | The name of the category |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||