replicate_sheet
Copy all visuals and layouts from one sheet to a new sheet in the same analysis in a single API call, avoiding the need to add visuals individually.
Instructions
Copy all visuals from one sheet to a new sheet in the same analysis.
This is the recommended way to duplicate a sheet. It copies all visuals with their layouts in a single API call, which is much more reliable than adding visuals one at a time.
Visual IDs are automatically prefixed with 'rc_' to avoid conflicts.
WARNING: This modifies the analysis definition. A backup is automatically created before making changes.
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": {
"analysis_id": "<analysis_id>",
"source_sheet_id": "<source_sheet_id>",
"target_sheet_name": "<target_sheet_name>"
},
"name": "replicate_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The QuickSight analysis ID. | |
| source_sheet_id | Yes | The sheet ID to copy visuals from. Use describe_analysis to find sheet IDs. | |
| target_sheet_name | Yes | Display name for the new sheet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||