copy_range
Copy a range of cells from one location to another within an Excel workbook. Specify the source range and target starting cell to duplicate data efficiently.
Instructions
Copy a range of cells to another location.
Args:
sheet_name: Name of source worksheet
source_start: Starting cell of source range
source_end: Ending cell of source range
target_start: Starting cell of target range
session_id: Session ID from open_workbook (preferred)
filepath: Path to Excel file (legacy, deprecated)
target_sheet: Target worksheet (optional, uses source sheet if not provided)
Note: Use session_id for better performance. filepath parameter is deprecated.
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": {
"sheet_name": "<sheet_name>",
"source_start": "<source_start>",
"source_end": "<source_end>",
"target_start": "<target_start>"
},
"name": "copy_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_name | Yes | ||
| source_start | Yes | ||
| source_end | Yes | ||
| target_start | Yes | ||
| session_id | No | ||
| filepath | No | ||
| target_sheet | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |