Page Toolswordpress_read_page

wordpress_read_page

Read a WordPress page including meta and builder information.

wordpress_read_page

Get full content of a specific page including meta data and builder information.

Parameters

2 parameters, 1 required.

NameTypeRequiredWhat it is
idnumberyesPage ID
includestringnoOptional v2 include CSV

Example call

The smallest valid call, with the required parameters only:

{
  "name": "wordpress_read_page",
  "arguments": {
    "id": 123
  }
}

Response

{
  "success": true,
  "id": 2,
  "title": "Home",
  "status": "publish",
  "content": "<h1>Welcome</h1>",
  "meta": {},
  "builder": {
    "name": "divi",
    "detected": true
  }
}

What it changes

Nothing. It only reads, so there is nothing to approve and nothing to undo.

When it fails

The failures seen most often on real sites in the last 30 days, most common first:

  • respira_unknown_include: The include parameter asked for a part this tool does not return. The error lists the supported values. Use those.
  • rest_no_route: The WordPress site has no such endpoint. Almost always an old plugin version, or a security plugin blocking the REST API. Update Respira for WordPress on the site and try again.
  • respira_scope_denied: The connection is read-only, and this call would write. Use a connection with write access, or switch the site out of read-only in Respira settings.
  • respira_page_not_found: No page has that ID. List the pages and take the ID from the result.

How long it takes

A typical call takes about 1.6 seconds. 19 in 20 finish within 3.9 seconds. Measured on real sites over the last week, so it includes the site's own hosting.

Availability

Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.

Example Prompts

  • "Read page 42"
  • "Show me the content of the About page"
  • "What page builder is page 2 using?"