bricks_wp_create_post
Create a WordPress post with a custom title, HTML content, categories, tags, featured media, and status (draft/publish/pending). Returns the new post ID and URL.
Instructions
Create a new WordPress post. Returns the new post ID and URL.
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": "bricks_wp_create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag IDs | |
| title | Yes | Post title | |
| status | No | publish, draft, pending (default: draft) | draft |
| content | No | Post content (HTML) | |
| excerpt | No | Post excerpt | |
| post_type | No | REST base of the post type (default: posts). For a CPT pass its REST base, e.g. "service-area", "service", "faq". Look it up with bricks_get_post_types. | posts |
| categories | No | Category IDs | |
| featured_media | No | Featured image media ID |