write_range
Writes a 2D array of values into an Excel sheet range from a chosen top-left cell, using null for empty cells.
Instructions
Write a 2D array of values to a range starting at a specific cell
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": {
"workbookId": "<workbookId>",
"sheet": "<sheet>",
"startCell": "<startCell>",
"values": "<values>"
},
"name": "write_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or index (1-based) | |
| values | Yes | 2D array of values. Each inner array is a row. Use null for empty cells. | |
| startCell | Yes | Top-left cell address (e.g., 'A1') | |
| workbookId | Yes | The workbook ID |