Skip to main content

Read formula

Read the formula of one cell (the plain value when the cell has no formula).

Command in the Google Workspace toolkit · id ooa.google/sheets_read_formula · 4 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoGoogle access token from the vault; the open spreadsheet session's when empty.
Spreadsheet IDStringNoSpreadsheet id, URL or Drive path; the open spreadsheet session's when empty.
CellStringNoCell such as Sheet1!B2 or B2; the session's current cell (Go to cell) when empty.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.

Outputs​

OutputTypeWhat it is
formulaStringFormula text such as =SUM(B2:C2).