download_formula_field
Download a formula field's text to a readable .formula file with metadata header, resolving field refs to real names so it can be uploaded back unchanged. Omit outputPath to just return the formula.
Instructions
Download the formula text of a formula field to a local file. Field refs are resolved to real field names ({Field Name}, Airtable's native syntax) so the file is readable and can be uploaded back unchanged. 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>",
"fieldId": "<fieldId>"
},
"name": "download_formula_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| debug | No | When true, include raw Airtable response in output for diagnostics | |
| 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. |