wp_add_post
Create a new WordPress post by supplying a title and content. Set status, excerpt, and other fields to publish or save as draft via the WordPress REST API.
Instructions
Add a new WordPress post
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>",
"content": "<content>"
},
"name": "wp_add_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Post title | |
| status | No | Post status | |
| content | Yes | Post content | |
| excerpt | No | Post excerpt |