Create a post or page
wp_content_createCreate WordPress posts or pages with content, status, categories, tags, meta, and templates, returning the new ID and link.
Instructions
Create content. Returns the new ID and link. Supports meta, taxonomy terms and page templates.
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": "wp_content_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date, required for status=future | |
| meta | No | ||
| slug | No | ||
| tags | No | ||
| type | No | post | |
| title | Yes | ||
| parent | No | ||
| status | No | draft | |
| content | No | Block or classic HTML | |
| excerpt | No | ||
| template | No | Page template, e.g. elementor_header_footer | |
| categories | No | ||
| menu_order | No | ||
| featured_media | No |