Read a page or post
wp_get_contentRetrieves a single WordPress page or post with title, status, excerpt, content, ACF fields, and SEO metadata; use text for readable output or blocks for raw Gutenberg markup before editing.
Instructions
Reads one page or post: title, status, excerpt, content, ACF fields (when ACF exposes them to REST) and the SEO title and meta description (when AI Site Auditor is active). format "text" returns readable text; "blocks" returns the raw Gutenberg block markup, use it before editing content.
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 | Post ID | |
| format | No | text | |
| max_chars | No | Content is cut after this many characters | |
| post_type | No | Post type slug or REST base: "page", "post" or a custom post type. Default "page". | page |