write_cell
Write a value or formula to a specified Excel cell, using a leading equals sign for formulas. Provide workbook, sheet, cell address, and value to update spreadsheet data.
Instructions
Write a value or formula to a cell. Values starting with '=' are treated as formulas.
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>",
"cell": "<cell>",
"value": "<value>"
},
"name": "write_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | Cell address (e.g., 'A1') | |
| sheet | Yes | Sheet name or index (1-based) | |
| value | Yes | Value to write. Use '=' prefix for formulas (e.g., '=SUM(A1:A10)') | |
| workbookId | Yes | The workbook ID |