copy_range
Copy a rectangular cell block to another location within a spreadsheet. Moves raw values between sheets or positions, overwriting existing destination data.
Instructions
Copy a rectangular block of cells to another location.
Copies raw values only. The destination can be on the same sheet or a different sheet in the same workbook. Existing values at the destination are overwritten.
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": {
"file": "<file>",
"source_range": "<source_range>",
"dest_start": "<dest_start>"
},
"name": "copy_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the spreadsheet file | |
| source_range | Yes | Range to copy from in A1 notation, e.g. 'A1:C5' | |
| dest_start | Yes | Top-left cell of the destination, e.g. 'E1'. The copied block expands right and down from here. | |
| sheet | No | Source sheet name. Defaults to the first sheet if omitted. | |
| dest_sheet | No | Destination sheet name. Defaults to the same sheet as the source if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |