write_formulas
Write formula strings to cells in a Google Spreadsheet by specifying the range and a 2D array of formulas.
Instructions
Write formulas to cells
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": {
"spreadsheet_id": "<spreadsheet_id>",
"range": "<range>",
"formulas": "<formulas>"
},
"name": "write_formulas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The A1 notation range to write formulas to | |
| formulas | Yes | 2D array of formulas (e.g., [['=SUM(A1:A5)', '=AVERAGE(B1:B5)']]) | |
| spreadsheet_id | Yes | The ID of the spreadsheet |