create-category
Efficiently add a new category to your WordPress site by specifying name, description, slug, and optional parent ID. Authenticates securely to streamline content organization.
Instructions
Create a new WordPress category
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | HTML description of the term | |
meta | No | Meta fields | |
name | Yes | HTML title for the term | |
parent | No | The parent term ID | |
password | Yes | WordPress application password | |
siteUrl | Yes | WordPress site URL | |
slug | No | An alphanumeric identifier for the term unique to its type | |
username | Yes | WordPress username |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "HTML description of the term",
"type": "string"
},
"meta": {
"additionalProperties": {},
"description": "Meta fields",
"type": "object"
},
"name": {
"description": "HTML title for the term",
"type": "string"
},
"parent": {
"description": "The parent term ID",
"type": "number"
},
"password": {
"description": "WordPress application password",
"type": "string"
},
"siteUrl": {
"description": "WordPress site URL",
"format": "uri",
"type": "string"
},
"slug": {
"description": "An alphanumeric identifier for the term unique to its type",
"type": "string"
},
"username": {
"description": "WordPress username",
"type": "string"
}
},
"required": [
"siteUrl",
"username",
"password",
"name"
],
"type": "object"
}