Components Duplicate
components_duplicateDuplicate ungrouped top-level components on one static-canvas page in a single write, preserving fields, styles, and conditional formatting while regenerating IDs.
Instructions
Copy ungrouped top-level components on the same static-canvas page in one write.
Load the page using report_refresh first. Preserves fields/styles, regenerates IDs/control aliases and copies owned conditional formatting. New objects are appended to the component list, offset in pixels. Preview IDs are provisional. Grouped/responsive/component-child operations require separate support.
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>",
"component_ids": "<component_ids>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "components_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| page_id | Yes | ||
| offset_x | No | ||
| offset_y | No | ||
| report_id | No | ||
| component_ids | Yes | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||