download_base_formulas
Download all formula fields from an Airtable base to local .formula files, organized into per-table subfolders.
Instructions
Download ALL formula fields from a base to local .formula files, organized into per-table subfolders. Each file includes a # AT: header with appId, tableId, fieldId, fieldName, description, and resultType. Tables with no formula fields are silently skipped. outputDir defaults to the current working directory when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| outputDir | No | Local directory to write files into. Defaults to process.cwd() when omitted. Structure: outputDir/<Table Name>/<Field Name>.formula | |
| debug | No | When true, include raw Airtable response in output for diagnostics |