airtable_query_records
Query Airtable records using server-side formula filters, field selection, sorting, and automatic pagination. Retrieve matched record IDs and values for analysis or downstream actions.
Instructions
Queries records from an Airtable table with server-side formula filtering, field selection, sorting, and pagination.
When to Use
When searching for specific records matching criteria (e.g. stage, status, date range, or email).
When retrieving record IDs, computed formulas, or linked fields for downstream analysis or updates.
When inspecting current data density and values across an Airtable base.
When NOT to Use
Do NOT use this tool to modify or delete records. Use 'airtable_manage_records' or 'airtable_batch_upsert' instead.
Do NOT use this tool to inspect table column schemas. Use 'airtable_list_schema' instead.
Operational Disclosures
Side Effects: Read-only. Safe to invoke repeatedly with zero mutations to the base.
Filtering: Supports standard Airtable formula syntax (e.g. AND({Status} = 'Active', {Balance} > 0)).
Pagination: Automatically paginates using Airtable offset tokens up to max_records.
Auth Scopes: Requires Personal Access Token with 'data.records:read' scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort criteria, e.g. [{"field": "Created", "direction": "desc"}] | |
| view | No | Specific View name or ID to filter by view configuration | |
| fields | No | Specific field names to return (saves bandwidth and token usage) | |
| base_id | Yes | Airtable Base ID (starts with app, e.g. appoorUuG6wgx8dJ1) | |
| max_records | No | Maximum total records to retrieve across pages (default: 100) | |
| table_name_or_id | Yes | Target Table Name or Table ID | |
| filter_by_formula | No | Airtable formula to filter records server-side, e.g. "AND({Stage} = 'Pending', {Amount} > 100)" |