wp_create_post
Create a new WordPress post by providing title and HTML content. Optionally set status, category IDs, and tag IDs for the post.
Instructions
Create a new WordPress post. Provide title and content (HTML). Optionally set status (draft/publish), categories, and tags.
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": "wp_create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag IDs | |
| title | Yes | Post title | |
| status | No | Post status: draft (default), publish, pending, private | |
| content | Yes | Post content (HTML) | |
| categories | No | Category IDs |