wp_create_page
Create a new WordPress page with a title, content, status, and slug on a chosen site. Use it to add drafts or publish pages, set parent pages, templates, scheduling, and meta fields.
Instructions
Create a new WordPress page
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": {
"site": "<site>",
"title": "<title>"
},
"name": "wp_create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Publish date in the site timezone (ISO8601); a future date with status publish schedules it | |
| meta | No | Registered meta fields (show_in_rest) as key/value | |
| site | Yes | Site id (see list_sites) | |
| slug | No | URL slug | |
| title | Yes | Page title | |
| author | No | Author user ID | |
| parent | No | Parent page ID (0 = top level) | |
| status | No | Page status (default draft) | draft |
| content | No | Content (HTML / block markup, stored raw) | |
| excerpt | No | Excerpt | |
| date_gmt | No | Publish date in GMT (ISO8601) | |
| password | No | Password to protect the content ('' removes protection); write-only, never returned | |
| template | No | Theme template file, e.g. 'page-full-width.php' ('' = default) | |
| menu_order | No | Order among sibling pages | |
| ping_status | No | Whether pingbacks/trackbacks are open | |
| comment_status | No | Whether comments are open | |
| featured_media | No | Featured image media ID (0 removes it) |