Pages
get_page
Return one page from the selected draft-or-published version of a Sentway site by path, including its stored source. Sentway prefers the newest open draft, otherwise the current published version. source_kind is raw when pre-transform source exists and output only as a defensive transformed-output fallback. Does not return page, version, account, or storage IDs. Read-only.
Behaviour
- Effect
- Read only. Calling it never changes anything in the account.
- Repeat calls
- Idempotent. Repeating the same call produces the same result.
- Plan
- Available on every plan, including free.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| site_id | uuid | Yes | The Sentway site's uuid. Get one from list_sites. |
| path | string | Yes | The page's URL path within the site, e.g. '/pricing'. Leading slash required. Paths are the only page identifier v2 accepts; internal page identifiers are never used on the wire. |
Returns
| Name | Type |
|---|---|
| page | object |
| version_source | enum draft | published |
| source_kind | enum raw | output |
| source | string |
| content_revision | string |
Using it
get_page is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 56 Sentway tools. See connecting over MCP.