Move a Page
move_pageMove one existing main-tree Page below another main-tree Page. Read both Pages first and pass both exact revisions. The move preserves the Page id, body, history, and collaboration document; it never resolves Drafts or silently suffixes a colliding sibling slug. Moving the top of an archived branch restores the whole branch.
A lock never refuses a move — locks fence automatic curation, and you act on a member's instruction — but structure locked on either Page's read means a member deliberately chose that arrangement: say which Page holds the lock and confirm before moving it, or moving anything into its branch.
The moved Page stays subject to automatic curation, which may later move it again. A member-directed move is itself an arrangement choice, so when the member wants the Page kept where they put it, offer to structure-lock it with set_lock.
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": {
"page_id": "<page_id>",
"expected_rev": "<expected_rev>",
"new_parent_id": "<new_parent_id>",
"new_parent_expected_rev": "<new_parent_expected_rev>",
"context_id": "<context_id>"
},
"name": "move_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Positive serial id of the Page to move. | |
| context_id | Yes | The destination context id from list_contexts. Required for writes. | |
| expected_rev | Yes | Exact revision of the Page returned by the latest Page read. | |
| new_parent_id | Yes | Positive serial id of the destination parent Page. | |
| new_parent_expected_rev | Yes | Exact revision of the destination parent returned by the latest Page read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | ||
| kind | No | move | |
| path | Yes | ||
| title | Yes | ||
| page_id | Yes | ||
| tree_id | Yes | ||
| warning | No | ||
| changeset_id | Yes | ||
| new_parent_id | Yes | ||
| previous_path | Yes | ||
| context_run_id | Yes | ||
| affected_page_ids | No | ||
| changeset_sequence | Yes | ||
| previous_parent_id | Yes | ||
| collaboration_reloaded | No |