duplicate_sheet
Duplicates a sheet tab within the same spreadsheet and optionally assigns a new name or insertion position, enabling local copies of existing sheets.
Instructions
Duplicate a sheet tab within the same spreadsheet.
Distinct from copy_sheet, which copies a sheet across spreadsheets.
Args: spreadsheet_id: The ID of the spreadsheet sheet: The name of the sheet to duplicate new_name: Optional title for the new sheet. Defaults to Google's auto-generated name (e.g. "Copy of Sheet1") if omitted. insert_index: Optional 0-based tab position for the new sheet. Defaults to immediately after the source sheet if omitted.
Returns: Information about the newly created sheet
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": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet": "<sheet>"
},
"name": "duplicate_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| new_name | No | ||
| insert_index | No | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||