validate_formula_syntax
Validate Excel formula syntax without applying it, to prevent errors before inserting into a worksheet cell.
Instructions
Validate Excel formula syntax without applying it.
Args:
sheet_name: Name of worksheet
cell: Cell address (e.g., "A1")
formula: Excel formula to validate
session_id: Session ID from open_workbook (preferred)
filepath: Path to Excel file (legacy, deprecated)
Note: Use session_id for better performance. filepath parameter is deprecated.
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": {
"sheet_name": "<sheet_name>",
"cell": "<cell>",
"formula": "<formula>"
},
"name": "validate_formula_syntax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_name | Yes | ||
| cell | Yes | ||
| formula | Yes | ||
| session_id | No | ||
| filepath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |