Get the site
get_siteFor shop owners: the seller's site: a style summary, each page's sections and blocks (id, type, gist), posts, unpublished changes, what needs Pro, and the draft_version a change or publish takes. page, part or post returns one page, the whole style or one post in full. preview_url is where the seller sees the draft.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | A page path, such as "/about". | |
| part | No | "style": the whole style, header, footer, social and menu. | |
| post | No | A post slug, in full; a whole save needs include_code. | |
| include_code | No | Custom blocks' code in full. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | ||
| next | No | ||
| page | No | ||
| paid | No | ||
| post | No | ||
| error | No | ||
| pages | No | ||
| posts | No | ||
| state | No | ||
| style | No | ||
| outcome | No | ||
| timezone | No | ||
| full_style | No | ||
| preview_url | No | ||
| draft_version | No | ||
| upgrade_needed | No | ||
| contrast_suggestions | No | ||
| contrast_suggestions_more | No |