create_post
Create a WordPress post with a title and optional content, excerpt, status, categories, tags, and featured image for publishing or drafting.
Instructions
Create a new WordPress post
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>"
},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Array of tag IDs | |
| title | Yes | Post title | |
| status | No | Post status (default: draft) | |
| content | No | Post content/body HTML | |
| excerpt | No | Post excerpt | |
| categories | No | Array of category IDs | |
| featured_media | No | Featured image attachment ID |