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.
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 |