bricks_wp_get_post
Fetch a full WordPress post by ID, including content, excerpt, categories, tags, featured image, and meta. Supports custom post types via the post_type parameter.
Instructions
Get a single WordPress post with full content, excerpt, categories, tags, featured image, and meta. 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_get_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Post ID | |
| 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 |