Copy pages to another region or language
copy_to_regionCopies up to 50 pages to another region or language as new drafts linked to the originals, ready to translate or adapt with update_draft. The originals don't change and nothing goes live. Folders the pages sit in are created in the target as needed. Returns how many folders and pages were copied, the target's environment, region and locale ids, and pages: each copy's new id with the id it was copied from. Copying within the same language is refused; a person uses Duplicate for that. You need write access to the target (see list_scopes).
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": {
"ids": "<ids>",
"target": "<target>"
},
"name": "copy_to_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | The ids of the pages to copy, 1 to 50, all from the same region and locale. | |
| target | Yes | Where the copies go: environment, region and locale keys from list_scopes. Each defaults like the other tools. | |
| includeMedia | No | Keep the images in the copies. false leaves image fields empty. |