create_post
Create a new WordPress post with title and content, defaulting to draft status to prevent accidental publication.
Instructions
Create a new WordPress post (basic). Defaults to draft status so nothing is published unintentionally.
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": {
"title": "<title>",
"content": "<content>"
},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug (optional). If omitted, WordPress generates one from the title (a Japanese title gives a Japanese slug). Use it to set an ASCII slug, e.g. 'my-first-post'. WordPress may change it (for example, appending '-2' if the slug is already used); the result shows the actual slug | |
| title | Yes | The post title | |
| status | No | Post status. Defaults to 'draft' to avoid accidental publication. | draft |
| content | Yes | The post content |