Create post
wp_create_postCreate a post, page or item of another post type. post_title is required. post_content accepts HTML, blocks or Markdown. The status is draft unless post_status says otherwise, and the type is post unless post_type says otherwise. meta_input sets custom fields.
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": {
"post_title": "<post_title>"
},
"name": "wp_create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_name | No | ||
| post_type | No | ||
| meta_input | No | Custom fields as key/value pairs. Keys starting with an underscore (WordPress internals) are refused, except the Yoast SEO title, description and focus keyphrase. | |
| post_title | Yes | ||
| post_status | No | ||
| post_content | No | ||
| post_excerpt | No |