create_formula_field
Add a formula field to an Airtable table. Provide the formula expression as text or from a local file to handle large formulas.
Instructions
Create a new formula field — shorthand for create_field with type "formula". Use create_field for all other field types (singleSelect, rollup, number, etc.). Returns { columnId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| tableId | Yes | The table ID (e.g. "tblXXX") | |
| name | Yes | Name for the new formula field | |
| formulaText | No | The formula expression | |
| formulaFilePath | No | Path to a local .formula or .fx file. When provided, reads formula from file instead of formulaText (unblocks large formulas that exceed LLM output limits). The # AT: metadata header is stripped automatically. | |
| debug | No | When true, include raw Airtable response in output for diagnostics |