Create a WordPress page
create_pageCreate a new WordPress page via the REST API, specifying title and HTML content. Use to programmatically add pages to a site (requires edit_pages capability).
Instructions
Create a new page via POST /wp-json/wp/v2/pages. content is an HTML string. Requires edit_pages capability on the authenticated user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Optional meta fields object to attach to the page. | |
| title | Yes | The page title. | |
| status | No | Publication status. Defaults to "draft" if omitted. | |
| content | Yes | The page body as an HTML string. |