Move every page to another locale
migrate_pages_localeMove all wiki pages from a wrong source locale to a target locale. Fix broken external links caused by incorrect locale setup, with a confirmation token required for safety.
Instructions
Moves all pages from one locale to another, across the whole wiki. The usual reason is a wiki set up under the wrong locale code. Every page path changes, so every external link into the wiki breaks. Requires a confirmation token.
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": {
"source_locale": "<source_locale>",
"target_locale": "<target_locale>"
},
"name": "migrate_pages_locale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. | |
| source_locale | Yes | Locale to move pages out of. | |
| target_locale | Yes | Locale to move pages into. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |