Numbers: recalculate
numbers_recalculateRecompute every formula in a Numbers file after edits made without the app, so results reflect current values. Run only when the file reports formulas_need_recalc.
Instructions
Make Numbers recompute every formula from the current values. Numbers keeps showing a formula's old result after edits made without it (numbers_edit_cell, numbers_insert…), so run this after those when the file has formulas — their result says so (formulas_need_recalc). Formulas and inputs are verified unchanged. Needs macOS + Numbers, file closed. dry_run=true previews the change on a copy without touching the file. Use only after a no-app edit returned formulas_need_recalc, so totals are current. Not needed after numbers_set_formula, which recalculates itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .numbers file (absolute, or starting with ~). | |
| dry_run | No | true = make the change on a throwaway copy, run every check, and return what would change; the file itself is not touched. Use it before broad or risky edits and show the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||