Analyze Table
analyze_tableFull Description
Run statistical operations (count, sum, average, min, max, etc.) on an Airtable table, optionally grouped by columns and filtered.
Parameters (3 required, 4 optional)
baseIdstringThe ID of the base containing the table. Must start with "app" and is 17 characters long. Example: "appZfrNIUEip5MazD". Do not substitute user-facing names for baseId. To get baseId, use the search_bases or list_bases tool.
operationstringThe aggregation operation to perform. Do not provide a numericField for "count" operations.
sumavgmediancountminmaxstdevvariancedistincttableIdstringThe ID of the table to analyze. Must start with "tbl" and is 17 characters long. Example: "tblGlReoTNWfYnXIG". Do not substitute user-facing names for tableId. To get tableId, use the list_tables_for_base tool.
filterOperatorstringThe logical top-level operator for combining multiple filters. Defaults to "and".
andorfiltersarrayFilters to apply to the table. Only rows matching the filters are included in the analysis.
groupByFieldsarrayFields to group by before performing the operation. The operation runs independently on each group.
numericFieldobjectThe field to aggregate. Required for operations other than "count".