List the pages of a site
list_pagesLists every page of a site (home first) with its path, name, draft preview URL and live URL. Use the path as the page parameter of edit_section, add_section, list_sections and the version tools. Free.
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": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_key | No | The site whose pages to list. Defaults to the caller's current draft site when omitted. | |
| draft_token | No | The draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header. |