create_page
Create a new WordPress page with a title, content, status, parent page, excerpt, and featured image using the WordPress REST API.
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": {
"title": "<title>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Page title | |
| parent | No | Parent page ID (for hierarchical page structures) | |
| status | No | Page status (default: draft) | |
| content | No | Page content/body HTML | |
| excerpt | No | Page excerpt | |
| featured_media | No | Featured image attachment ID |