WordPress: Create custom post
wordpress_create_custom_postCreate a new WordPress custom post type entry with title, content, status, and custom fields. Use it to programmatically publish or draft any custom post type on a specified site.
Instructions
[UNIFIED] Create a new post of a custom post type. Supports custom fields/meta data.
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>",
"post_type": "<post_type>",
"title": "<title>",
"content": "<content>"
},
"name": "wordpress_create_custom_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| site | Yes | ||
| title | Yes | ||
| status | No | draft | |
| content | Yes | ||
| post_type | Yes |