Validate WorkPaper Formula
validate_formulaCheck spreadsheet formula syntax with the WorkPaper parser to avoid errors before writing to a cell. Syntax validation only; combine with set_cell_contents and readback for evaluation.
Instructions
Validate formula syntax with the WorkPaper parser before writing it to a cell. This checks syntax only; use set_cell_contents plus readback to evaluate.
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": {
"formula": "<formula>"
},
"name": "validate_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes | Formula string including the leading =, for example =SUM(Inputs!B2:B4). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| formula | Yes |