Duplicate page
swebsy_duplicate_pageCopy a page (content, classes and styles) into a new page and select the copy. Returns the new page's id and fileName. Use it to start a page from an existing layout instead of rebuilding it.
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>"
},
"name": "swebsy_duplicate_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the copy. Defaults to "<name> (copy)". | |
| page | Yes | Page id, name or slug to copy. |