excel_write_range
Write a 2D array of data into an Excel sheet starting from a specified cell, with optional file backup before modification.
Instructions
Write a 2D matrix of data starting from a designated top-left cell in an Excel sheet.
Args:
file_path: Path to the Excel file.
sheet_name: Target sheet name.
start_cell: Top-left cell coordinate (e.g. 'A1').
data: 2D array of rows and column values to write.
backup: If True, create a backup of the original file before modifying.
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_path": "<file_path>",
"sheet_name": "<sheet_name>",
"start_cell": "<start_cell>",
"data": "<data>"
},
"name": "excel_write_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| backup | No | ||
| file_path | Yes | ||
| sheet_name | Yes | ||
| start_cell | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |