get_formula
Retrieve the formula string from a specified Excel cell without calculating its result. Use workbook ID, sheet, and cell address to inspect formulas directly.
Instructions
Get the formula string from a cell (returns the formula itself, not the calculated result)
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": {
"workbookId": "<workbookId>",
"sheet": "<sheet>",
"cell": "<cell>"
},
"name": "get_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | Cell address (e.g., 'A1') | |
| sheet | Yes | Sheet name or index (1-based) | |
| workbookId | Yes | The workbook ID |