list_fields
Lists fields in an Airtable table with id, name, and type, letting you query field metadata without pulling full schema or view data. Filter by field type or name substring on large tables.
Instructions
List fields in a table — returns id, name, and type per field (lightweight by default). Use instead of get_table_schema when you need fields only (no view data). Set includeOptions=true to also return each field's full typeOptions (can be very large on wide tables — prefer the default for name/id/type lookups). Use fieldType or nameContains filters on large tables to reduce context size. Returns [{ id, name, type, typeOptions? }].
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>",
"tableIdOrName": "<tableIdOrName>"
},
"name": "list_fields"
}
}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 | |
| fieldType | No | Return only fields of this type, e.g. "formula", "text", "number", "checkbox" | |
| nameContains | No | Return only fields whose name contains this substring (case-insensitive) | |
| tableIdOrName | Yes | The table ID (tblXXX) or exact name | |
| includeOptions | No | Include full typeOptions per field (default false — the payload can exceed the MCP response window on wide tables) |