write_formula
Writes an Excel formula to a specified cell in a workbook. Accepts file path, sheet name, cell reference, and formula string.
Instructions
Write a formula to a cell.
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": {
"workbook_path": "<workbook_path>",
"sheet_name": "<sheet_name>",
"cell": "<cell>",
"formula": "<formula>"
},
"name": "write_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workbook_path | Yes | Path to the Excel workbook | |
| sheet_name | Yes | Name of the worksheet | |
| cell | Yes | Cell reference (e.g., 'A1') | |
| formula | Yes | Excel formula (e.g., '=SUM(A1:A10)', '=B2*C2') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||