duplicate_sheet
Duplicate an existing sheet within the same Google spreadsheet. Specify the source sheet name and new title to create a copy at an optional position.
Instructions
Duplicate a sheet within the same spreadsheet.
Whitelist note: allowed only when writable_sheets is "*" or the new title is explicitly listed.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Source sheet name OR gid string. new_title: Name for the copy. insert_index: Optional 0-based tab position for the copy. dry_run: If true, return the execution plan without changing anything.
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_or_url": "<spreadsheet_id_or_url>",
"sheet": "<sheet>",
"new_title": "<new_title>"
},
"name": "duplicate_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| dry_run | No | ||
| new_title | Yes | ||
| insert_index | No | ||
| spreadsheet_id_or_url | Yes |