Use the Airtop CLI from KosmoKrator to call Airtop tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Airtop can be configured headlessly with `kosmokrator integrations:configure airtop`.
# 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 airtop --set api_key="$AIRTOP_API_KEY" --enable --read allow --write ask --jsonkosmokrator integrations:doctor airtop --jsonkosmokrator integrations:status --json
Credentials
Authentication type: API keyapi_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
api_key
AIRTOP_API_KEY
Secret secret
yes
API Key
url
AIRTOP_URL
URL url
no
API Base URL
Call Airtop Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Airtop.
airtop.airtop_create_session
Write write
Create a new cloud browser session in Airtop. A session is a container for one or more browser windows. Returns the session ID needed to create windows and interact with pages.
Extract the content of the currently loaded page in an Airtop browser window. Returns the page text content, which can be used for analysis, summarization, or data extraction.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
airtop.airtop_create_session
Create a new cloud browser session in Airtop. A session is a container for one or more browser windows. Returns the session ID needed to create windows and interact with pages.
The URL to navigate to (e.g., "https://example.com").
wait_until
string
no
When to consider navigation complete: "load", "domcontentloaded", or "networkidle". Default is "load".
airtop.airtop_get_page_content
Extract the content of the currently loaded page in an Airtop browser window. Returns the page text content, which can be used for analysis, summarization, or data extraction.
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.