write_refactor
Rename or move a page and rewrite links that point to it, keeping references valid when link refactoring is enabled.
Instructions
Rename or move a page and rewrite the links that point to it (needs link refactoring on; preview with read_refactor_preview).
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": "<page>",
"version": "<version>"
},
"name": "write_refactor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id or path | |
| slug | No | New slug (rename) | |
| title | No | New title (rename) | |
| parent | No | New parent id or path (move); "/" for the top level | |
| version | Yes | version from your last read of the page | |
| position | No | ||
| rewriteLinks | No | Default true |