Move or copy a Docmost page
move_pageRelocates a page and its subpages under another page, to a space root, or into another space, placing them last among siblings; optionally copies them without comments.
Instructions
Moves a page and its subpages under another page or to the root of a space, including into another space, placing it last among its new siblings, or with copy copies them there without their comments.
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": {
"pageId": "<pageId>"
},
"name": "move_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | Copy instead of moving; with no parentPageId or spaceId the copy goes next to the original as "Copy of" its title. | |
| pageId | Yes | Page id, slug id, or the full page URL copied from the browser. | |
| spaceId | No | Space id from get_workspace; without parentPageId, moves or copies the page to the end of this space's root pages. | |
| parentPageId | No | Move or copy the page under this page, in whichever space it is. |