productivity
Airtable CLI for AI Agents
Use the Airtable CLI from KosmoKrator to call Airtable tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Airtable CLI Setup
Airtable can be configured headlessly with `kosmokrator integrations:configure airtable`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure airtable --set access_token="$AIRTABLE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor airtable --json
kosmokrator integrations:status --json Credentials
Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | AIRTABLE_ACCESS_TOKEN | Secret secret | yes | Access Token |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call airtable.airtable_api_get '{}' --json kosmo integrations:airtable airtable_api_get '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs airtable --json
kosmo integrations:docs airtable.airtable_api_get --json
kosmo integrations:schema airtable.airtable_api_get --json
kosmo integrations:search "Airtable" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
airtable.airtable_api_get
Call any Airtable Web API GET endpoint with query parameters.
read - Parameters
- none
kosmo integrations:call airtable.airtable_api_get '{}' --json kosmo integrations:airtable airtable_api_get '{}' --json airtable.airtable_api_post
Call any Airtable Web API POST endpoint with a JSON payload.
write - Parameters
- none
kosmo integrations:call airtable.airtable_api_post '{}' --json kosmo integrations:airtable airtable_api_post '{}' --json airtable.airtable_api_patch
Call any Airtable Web API PATCH endpoint with a JSON payload.
write - Parameters
- none
kosmo integrations:call airtable.airtable_api_patch '{}' --json kosmo integrations:airtable airtable_api_patch '{}' --json airtable.airtable_api_delete
Call any Airtable Web API DELETE endpoint with query parameters.
write - Parameters
- none
kosmo integrations:call airtable.airtable_api_delete '{}' --json kosmo integrations:airtable airtable_api_delete '{}' --json airtable.airtable_get_current_user
Get the currently authenticated Airtable user.
read - Parameters
- none
kosmo integrations:call airtable.airtable_get_current_user '{}' --json kosmo integrations:airtable airtable_get_current_user '{}' --json airtable.airtable_list_bases
List Airtable bases accessible to the token.
read - Parameters
- none
kosmo integrations:call airtable.airtable_list_bases '{}' --json kosmo integrations:airtable airtable_list_bases '{}' --json airtable.airtable_get_base_schema
Get table, field, and view schema metadata for a base.
read - Parameters
- none
kosmo integrations:call airtable.airtable_get_base_schema '{}' --json kosmo integrations:airtable airtable_get_base_schema '{}' --json airtable.airtable_create_table
Create a table in an Airtable base.
write - Parameters
- none
kosmo integrations:call airtable.airtable_create_table '{}' --json kosmo integrations:airtable airtable_create_table '{}' --json airtable.airtable_update_table
Update table metadata in an Airtable base.
write - Parameters
- none
kosmo integrations:call airtable.airtable_update_table '{}' --json kosmo integrations:airtable airtable_update_table '{}' --json airtable.airtable_create_field
Create a field in an Airtable table.
write - Parameters
- none
kosmo integrations:call airtable.airtable_create_field '{}' --json kosmo integrations:airtable airtable_create_field '{}' --json airtable.airtable_update_field
Update field metadata in an Airtable table.
write - Parameters
- none
kosmo integrations:call airtable.airtable_update_field '{}' --json kosmo integrations:airtable airtable_update_field '{}' --json airtable.airtable_list_views
List views by reading Airtable base schema metadata.
read - Parameters
- none
kosmo integrations:call airtable.airtable_list_views '{}' --json kosmo integrations:airtable airtable_list_views '{}' --json airtable.airtable_list_records
List records from an Airtable table.
read - Parameters
- none
kosmo integrations:call airtable.airtable_list_records '{}' --json kosmo integrations:airtable airtable_list_records '{}' --json airtable.airtable_get_record
Get a single Airtable record.
read - Parameters
- none
kosmo integrations:call airtable.airtable_get_record '{}' --json kosmo integrations:airtable airtable_get_record '{}' --json airtable.airtable_create_record
Create one Airtable record.
write - Parameters
- none
kosmo integrations:call airtable.airtable_create_record '{}' --json kosmo integrations:airtable airtable_create_record '{}' --json airtable.airtable_create_records
Create multiple Airtable records in one request.
write - Parameters
- none
kosmo integrations:call airtable.airtable_create_records '{}' --json kosmo integrations:airtable airtable_create_records '{}' --json airtable.airtable_update_record
Update one Airtable record.
write - Parameters
- none
kosmo integrations:call airtable.airtable_update_record '{}' --json kosmo integrations:airtable airtable_update_record '{}' --json airtable.airtable_update_records
Update multiple Airtable records in one request.
write - Parameters
- none
kosmo integrations:call airtable.airtable_update_records '{}' --json kosmo integrations:airtable airtable_update_records '{}' --json airtable.airtable_upsert_records
Create or update records using Airtable performUpsert.
write - Parameters
- none
kosmo integrations:call airtable.airtable_upsert_records '{}' --json kosmo integrations:airtable airtable_upsert_records '{}' --json airtable.airtable_delete_record
Delete one Airtable record.
write - Parameters
- none
kosmo integrations:call airtable.airtable_delete_record '{}' --json kosmo integrations:airtable airtable_delete_record '{}' --json airtable.airtable_delete_records
Delete multiple Airtable records using records[] query parameters.
write - Parameters
- none
kosmo integrations:call airtable.airtable_delete_records '{}' --json kosmo integrations:airtable airtable_delete_records '{}' --json airtable.airtable_list_comments
List comments for an Airtable record.
read - Parameters
- none
kosmo integrations:call airtable.airtable_list_comments '{}' --json kosmo integrations:airtable airtable_list_comments '{}' --json airtable.airtable_create_comment
Create a comment on an Airtable record.
write - Parameters
- none
kosmo integrations:call airtable.airtable_create_comment '{}' --json kosmo integrations:airtable airtable_create_comment '{}' --json airtable.airtable_update_comment
Update a comment on an Airtable record.
write - Parameters
- none
kosmo integrations:call airtable.airtable_update_comment '{}' --json kosmo integrations:airtable airtable_update_comment '{}' --json airtable.airtable_delete_comment
Delete a comment from an Airtable record.
write - Parameters
- none
kosmo integrations:call airtable.airtable_delete_comment '{}' --json kosmo integrations:airtable airtable_delete_comment '{}' --json airtable.airtable_list_webhooks
List Airtable webhooks for a base.
read - Parameters
- none
kosmo integrations:call airtable.airtable_list_webhooks '{}' --json kosmo integrations:airtable airtable_list_webhooks '{}' --json airtable.airtable_create_webhook
Create an Airtable webhook for a base.
write - Parameters
- none
kosmo integrations:call airtable.airtable_create_webhook '{}' --json kosmo integrations:airtable airtable_create_webhook '{}' --json airtable.airtable_delete_webhook
Delete an Airtable webhook.
write - Parameters
- none
kosmo integrations:call airtable.airtable_delete_webhook '{}' --json kosmo integrations:airtable airtable_delete_webhook '{}' --json airtable.airtable_list_webhook_payloads
List webhook payloads for an Airtable webhook.
read - Parameters
- none
kosmo integrations:call airtable.airtable_list_webhook_payloads '{}' --json kosmo integrations:airtable airtable_list_webhook_payloads '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
airtable.airtable_api_get 0 parameters
kosmo integrations:schema airtable.airtable_api_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_api_post 0 parameters
kosmo integrations:schema airtable.airtable_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_api_patch 0 parameters
kosmo integrations:schema airtable.airtable_api_patch --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_api_delete 0 parameters
kosmo integrations:schema airtable.airtable_api_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_get_current_user 0 parameters
kosmo integrations:schema airtable.airtable_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_list_bases 0 parameters
kosmo integrations:schema airtable.airtable_list_bases --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_get_base_schema 0 parameters
kosmo integrations:schema airtable.airtable_get_base_schema --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_create_table 0 parameters
kosmo integrations:schema airtable.airtable_create_table --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_update_table 0 parameters
kosmo integrations:schema airtable.airtable_update_table --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_create_field 0 parameters
kosmo integrations:schema airtable.airtable_create_field --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_update_field 0 parameters
kosmo integrations:schema airtable.airtable_update_field --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_list_views 0 parameters
kosmo integrations:schema airtable.airtable_list_views --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_list_records 0 parameters
kosmo integrations:schema airtable.airtable_list_records --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_get_record 0 parameters
kosmo integrations:schema airtable.airtable_get_record --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_create_record 0 parameters
kosmo integrations:schema airtable.airtable_create_record --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_create_records 0 parameters
kosmo integrations:schema airtable.airtable_create_records --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_update_record 0 parameters
kosmo integrations:schema airtable.airtable_update_record --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_update_records 0 parameters
kosmo integrations:schema airtable.airtable_update_records --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_upsert_records 0 parameters
kosmo integrations:schema airtable.airtable_upsert_records --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_delete_record 0 parameters
kosmo integrations:schema airtable.airtable_delete_record --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_delete_records 0 parameters
kosmo integrations:schema airtable.airtable_delete_records --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_list_comments 0 parameters
kosmo integrations:schema airtable.airtable_list_comments --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_create_comment 0 parameters
kosmo integrations:schema airtable.airtable_create_comment --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_update_comment 0 parameters
kosmo integrations:schema airtable.airtable_update_comment --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_delete_comment 0 parameters
kosmo integrations:schema airtable.airtable_delete_comment --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_list_webhooks 0 parameters
kosmo integrations:schema airtable.airtable_list_webhooks --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_create_webhook 0 parameters
kosmo integrations:schema airtable.airtable_create_webhook --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_delete_webhook 0 parameters
kosmo integrations:schema airtable.airtable_delete_webhook --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
airtable.airtable_list_webhook_payloads 0 parameters
kosmo integrations:schema airtable.airtable_list_webhook_payloads --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.