set_formula
Write an Excel formula to a specific cell. The formula is stored and evaluated when the workbook is opened.
Instructions
Write an Excel formula to one cell, e.g. 'SUM(B2:B10)' (leading '=' optional).
Formulas are stored, not calculated — Excel evaluates them when the file is next opened. Reading the cell back returns the formula text.
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": {
"session_id": "<session_id>",
"cell": "<cell>",
"formula": "<formula>"
},
"name": "set_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | ||
| formula | Yes | ||
| session_id | Yes |