wp_create_cpt_item
Create a new item in any custom post type by specifying its type and title, with optional content, status, slug, parent, featured media, excerpt, meta, and scheduling for future publication.
Instructions
Create a new item in a custom post type
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": {
"post_type": "<post_type>",
"title": "<title>"
},
"name": "wp_create_cpt_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| slug | No | ||
| title | Yes | ||
| parent | No | ||
| status | No | ||
| content | No | ||
| excerpt | No | ||
| post_type | Yes | ||
| featured_media | No | ||
| scheduled_date | No | ISO or parseable date string to schedule publication |