add_excel_formula
Insert an Excel formula into a specific cell of an existing .xlsx file by specifying the file path, sheet, and cell reference.
Instructions
Add a formula to an Excel cell.
Args: path: Path to the .xlsx file sheet_name: Sheet name cell: Cell reference (e.g., 'A4') formula: Excel formula (e.g., '=SUM(A1:A3)')
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": {
"path": "<path>",
"sheet_name": "<sheet_name>",
"cell": "<cell>",
"formula": "<formula>"
},
"name": "add_excel_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | ||
| path | Yes | ||
| formula | Yes | ||
| sheet_name | Yes |