getWebPage
Fetch a single web page's metadata and content by its SEO ID. Use to read the current page before making edits.
Instructions
Get a single page - Fetch a single web page by seo_id. Read-only.
Use when: fetching one page's metadata (+ optionally its body/CSS/JS) before editing. Common for "let me read the current About page before editing it" workflows.
Required: seo_id (path).
Lean-by-default keep-list: same shape as listWebPages — returns only the core identity + linkage fields: seo_id, seo_type, filename, title, h1, h2, nickname, linked_post_category, linked_post_type, date_updated, revision_timestamp. Restore via flags:
include_content=1- returncontent(body HTML).include_code=1- returncontent_css,content_head,content_footer_html.include_extras=1- return everything else (allhero_*fields,meta_desc,meta_keywords,seo_text,facebook_*,content_layout,content_sidebar,menu_layout, allhide_*toggles,master_id,content_active,database,section,custom_html_placement, etc.).
Before updateWebPage edits to body, CSS, head, or footer HTML/JS, pass the matching flag so you have the current value to modify. Hero edits require include_extras=1 to read the existing hero_* values first.
See also: listWebPages (enumerate), updateWebPage (modify).
Returns: { status: "success", message: [{...record}] } - the message array contains 1 lean-shaped record when found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo_id | Yes | Page primary key | |
| include_content | No | Opt in to return the `content` (body HTML) field. Default stripped. | |
| include_code | No | Opt in to return `content_css`, `content_head`, `content_footer_html`. Default stripped. Needed before `updateWebPage` edits to CSS/head/JS. | |
| include_extras | No | Opt in to return ALL remaining fields on this resource that are not in the lean-by-default keep-list and not gated by another `include_*` flag. Lean default returns only the core identity, routing, and load-bearing fields. `include_extras=1` restores everything else (geo, all hero_*, layout/sidebar/menu config, all display toggles, admin metadata, etc.). Resource-specific — see each tool's description for what the extras bundle contains. |