sheets_set_formula
Set formulas in a specified range of a Google Sheet by providing the spreadsheet ID, target range, and an array of formulas.
Instructions
Set formulas in 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": {
"spreadsheetId": "<spreadsheetId>",
"range": "<range>",
"formulas": "<formulas>"
},
"name": "sheets_set_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The range to set formulas | |
| formulas | Yes | Array of formulas to set | |
| spreadsheetId | Yes | The ID of the spreadsheet |