Set Cell Formula
set_cell_formulaSet a formula or literal value on a single cell in an open Excel workbook, then retrieve the cell's calculated value.
Instructions
Set a formula (or literal value) on a single cell.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). cell: A1-style cell reference, e.g. "B2". formula: Formula string starting with '=' (e.g. "=SUM(A1:A10)"), or a literal value.
Returns: JSON with the cell's resulting calculated value.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_cell_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | A1 | |
| sheet | No | ||
| formula | No | ||
| workbook | No |