bricks_wp_update_post
Update an existing WordPress post by sending only changed fields. Supports custom post types via post_type.
Instructions
Update an existing WordPress post. Only sends changed fields. Works on custom post types via 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_id": "<post_id>"
},
"name": "bricks_wp_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag IDs | |
| title | No | New title | |
| status | No | New status: publish, draft, pending, private | |
| content | No | New content (HTML) | |
| excerpt | No | New excerpt | |
| post_id | Yes | Post ID to update | |
| 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 |