Move a page
move_pageMove a wiki page and its subpages to a new folder while automatically rewriting all internal links so cross-references remain valid and the change is one Git commit.
Instructions
Moves a page, with its subpages, into another folder of the same space. Links to it and from it are rewritten so they keep working, and the move is one Git commit. Requires a write-scoped token and an editor role in the space. Not available in a space set to review mode. Use list_tree to find the destination path. Returns the page at its new path.
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": {
"id": "<id>",
"parentPath": "<parentPath>"
},
"name": "move_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the page to move | |
| parentPath | Yes | Destination parent directory relative to the space root; "" for the space root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id | |
| icon | No | Emoji icon, if the page has one | |
| kind | Yes | Page kind: doc, board, table, form, base, canvas, artifact, pdf or office | |
| path | Yes | Path relative to the space root | |
| cover | No | Cover image URL, if the page has one | |
| order | Yes | Position among its siblings | |
| space | Yes | Space slug the page belongs to | |
| title | Yes | Page title | |
| status | Yes | Page status | |
| updatedAt | Yes | Last change, ISO timestamp |