Formualizer Spreadsheet Recalc, Edit, Inspect & Trace

v0.19.0
io.github.PSU3D0/formualizer Checked 1 day ago Published 11 days ago

Local Excel (.xlsx) formula recalculation, batch editing, inspection, and tracing via bundled WASM.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

source_recalculate Recalculate XLSX Formula Caches

Recalculate cached formula values directly on original .xlsx bytes using Formualizer without resident sessions. Use when verifying or repairing stale caches or finalizing workbooks written by other tools; use inspect_xlsx/trace_xlsx instead for read-only formula explanation.

ParameterTypeDescription
input_path *stringPath to the input .xlsx file.
optionsobjectOptional calculation options (profile: 'workbook' | 'strict', requireComplete, calculation, errorLocationLimit, externalLinks, limits).
output_pathstringOptional destination .xlsx path. Omit for read-only check mode.

edit_xlsx Batch Edit & Recalculate XLSX

Apply atomic cell/formula/name/structural edits to an .xlsx file, optionally recalculate formula caches with Formualizer, write output_path, and return the canonical edit + recalculation receipt (set details:true in request for exact cell diff).

ParameterTypeDescription
input_path *stringPath to the source .xlsx file.
output_path *stringPath to write the edited and recalculated .xlsx file.
request *objectStatelessEditRequest object, e.g. { ops: [{ kind: 'set_cells', sheet_name: 'Sheet1', cells: { A1: { kind: 'value', value: 30 } } }], recalculate: 'auto' }.
recalc_optionsobjectOptional XlsxRecalculateOptions JSON object.

inspect_xlsx Inspect XLSX Cells & Cached Values

Read-only inspection of source values, formulas, and unverified stored formula caches from an .xlsx file without evaluating formulas or loading a resident session.

ParameterTypeDescription
input_path *stringPath to the .xlsx file to inspect.
request *objectInspect request object. Top-level keys are singular `selection` and optional `page` only (never `selections` or `sheets`).

trace_xlsx Trace Formula Precedents & Dependents

Read-only dependency graph trace (precedents or dependents) rooted at one or more cells in an .xlsx file without evaluating formulas.

ParameterTypeDescription
input_path *stringPath to the .xlsx file to trace.
request *objectRead-only dependency trace request, e.g. { roots: ['Sheet1!B1'], direction: 'precedents', limits: { max_depth: 2 } }.