excel_copy_range
Copy a specified cell range in an open Excel workbook by defining source start and end cells and a target start cell, optionally on another worksheet.
Instructions
Copy cell range to location
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"sourceStart": "<sourceStart>",
"sourceEnd": "<sourceEnd>",
"targetStart": "<targetStart>"
},
"name": "excel_copy_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Opened workbook name | |
| sourceEnd | Yes | Source range end (e.g., C10) | |
| worksheet | Yes | Source worksheet name | |
| sourceStart | Yes | Source range start (e.g., A1) | |
| targetStart | Yes | Target start cell (e.g., E1) | |
| targetWorksheet | No | Target worksheet (optional) |