wordpress_create_draft
[WRITE] Create a new DRAFT post or page on the user's WordPress site. Always a draft — never public until wordpress_publish is called. Markdown or plain text is converted to WordPress blocks. Requires confirm:true.
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": "wordpress_create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional URL slug | |
| type | No | post (default) or page | |
| title | Yes | Title | |
| format | No | How content is written. markdown (default; plain text is fine) is converted to WordPress blocks: paragraphs, # headings, - and 1. lists, > quotes, ``` code, --- separators and  images on their own line. Use blocks for raw Gutenberg block markup, or html for classic HTML (shown as a Classic block). | |
| confirm | No | Must be true. Confirm the change with the user first; this acts on their live site. | |
| content | No | Body text (markdown by default) | |
| excerpt | No | Optional summary | |
| featured_media | No | Optional media id for the featured image (from wordpress_upload_media) |