download_formula_field
Download formula field text to a local .formula file with metadata headers for later upload, or return the formula text without saving.
Instructions
Download the formula text of a formula field to a local file. Writes a .formula file with a # AT: metadata header (appId, tableId, fieldId, fieldName) so the file can later be uploaded back with update_formula_field or the VS Code right-click command. When outputPath is omitted, returns the formula text without writing a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| fieldId | Yes | The formula field ID (e.g. "fldXXX") | |
| outputPath | No | Local file path to write the .formula file. When omitted, returns formula text in the response without writing a file. | |
| debug | No | When true, include raw Airtable response in output for diagnostics |