Get one post / page
wp_get_contentRetrieve a full WordPress post or page by ID, including raw HTML/block content, to inspect before editing.
Instructions
Fetch a single item in full, including its raw block/HTML content — this is what you read before editing something.
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": {
"id": "<id>"
},
"name": "wp_get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The item ID. | |
| site | No | Configured site name. Omit to use the default site. | |
| post_type | No | Post type slug, e.g. post, page, or a custom type. | post |