Get page document
get_page_documentRead a v4 page as ONE document (version "4.0"): page width/height, languages, fonts, and the element tree (box, text, image, svg, device, flow) with every language's text and image source inside it. Change it and write it back whole with set_page_document. Only v4 projects (create_project version "4.0") have page documents; a v3 page is refused. Owner-scoped, paid plans.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "get_page_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | The page to use; or pageIndex. | |
| pageIndex | No | 0-based page position (default 0) when pageId is not given. | |
| projectId | Yes |