wp_get_content
Retrieve a WordPress post, page, or product by ID with full details including content, meta, categories, tags, and WooCommerce data.
Instructions
Get a single WordPress content item by ID with full details including content, meta fields, categories, tags, and WooCommerce product data if applicable.
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": {
"type": "<type>",
"id": "<id>"
},
"name": "wp_get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| type | Yes | Post type: "post", "page", "product" |