Get cell formula
get_cell_formulaGet the raw formula (and any cached plain-language explanation) for a single cell. Pass scenarioId instead of workbookId to also get that cell's recalculated value under a what-if scenario.
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": {
"sheetName": "<sheetName>",
"cellRef": "<cellRef>"
},
"name": "get_cell_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellRef | Yes | ||
| sheetName | Yes | ||
| scenarioId | No | ||
| workbookId | No |