Page Duplicate
page_duplicateDuplicate a loaded page in View to preserve fields, styles, and shared sources, returning a component ID map for the copied page.
Instructions
Duplicate a loaded page, retaining fields/styles and sharing its existing sources.
Open the source page in View first. Native duplicateConfig generates component IDs and control aliases; only its delta is applied to full saved JSON, preserving opaque properties. Copies page visibility/icon. Returns a component ID map. Conditions with owners absent from the source page are omitted from the copy as in native duplication; omitted_condition_owner_ids reports them explicitly. This creates a page inside the bound report, never a report/datasource asset.
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": "<name>",
"expected_structure_fingerprint": "<expected_structure_fingerprint>"
},
"name": "page_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| index | No | ||
| dry_run | No | ||
| page_id | Yes | ||
| report_id | No | ||
| expected_structure_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||