Clone Wiki Page
page_cloneCopies a Yandex Wiki page to a new, unused slug, returning the copy's ID and slug. Use it to duplicate or relocate pages when a move isn't available.
Instructions
Copy a Yandex Wiki page to a new slug and return the copy's id and slug once the operation completes. Copies title and content only: child pages, comments, attachments, and edit history stay with the original, and the copy gets a new page id. Fails when the target slug is already occupied. The Wiki API has no true move/rename; to relocate a page, clone it and delete the original — re-uploading attachments and re-creating grids on the copy if they must follow.
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": {
"target": "<target>"
},
"name": "page_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Wiki page slug or full Wiki URL. Provide either page_id or slug. | |
| title | No | Optional title for the copied page. | |
| target | Yes | Slug for the copy, like 'users/login/project/copy-name'. A full Wiki page URL is also accepted. Must not be occupied by an existing page. | |
| page_id | No | Wiki page numeric ID. Provide either page_id or slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | Yes |