Duplicate a workspace link page
duplicate_link_pageCopy a page under a new slug, unpublished and never the default, so it can be edited (for the next event, say) before update_link_page publishes it. Any member can use 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_id": "<page_id>"
},
"name": "duplicate_link_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The copy's internal name. Absent: the original's. | |
| slug | No | The copy's address after /p/. Absent: the original's with -2, -3 and so on. | |
| page_id | Yes | The page id, from list_link_pages. | |
| workspace_id | No | The workspace this call acts in: an id from list_my_workspaces. Required for a person signed in with several workspaces and for staff of this deployment; optional with an API key or with only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | Yes | True when the page is saved with enabled: true, so public_url serves it. False: public_url answers 404. | |
| name | Yes | The internal name; blank when nobody named it. | |
| page | Yes | The stored page, ready to send back to update_link_page after changing it; null when there is none. | |
| slug | Yes | The page slug; the default page is served at /{accountCode} whatever its slug. | |
| forms | Yes | The workspace forms a form button can point at, by id. | |
| page_id | Yes | The page id; null when the workspace has no page yet. | |
| brand_kit | Yes | The brand kit the page takes its type, default colors and default logo from. | |
| workspace | Yes | The workspace this call acted in, to compare with the one the user means. | |
| is_default | Yes | True for the page at /{accountCode}. | |
| public_url | Yes | The page address, to give to users exactly as returned; null when the deployment has no public address. | |
| account_code | Yes | The workspace code the pages live under. |