duplicate_sheet
Create a copy of an existing sheet in the same Google Sheets spreadsheet. Specify the sheet to duplicate and set a new title.
Instructions
Duplicate/copy a sheet within the same spreadsheet.
Args: spreadsheet_id: The ID of the spreadsheet. sheet_id: The numeric ID of the sheet to duplicate. new_title: Name for the duplicated sheet. insert_index: Position for the copy (-1 for end).
Returns: JSON with new sheet's ID, title, and index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_id | Yes | ||
| new_title | Yes | ||
| insert_index | No | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |