Documentation Index
Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Before using Airtop browser automation tool steps, you need to configure the Airtop integration. See the Airtop integration setup guide for instructions on connecting your Airtop account.
Add the ‘Airtop - Query Page’ Tool step
- Creating a new Tool, then clicking
+ Add Step - Searching for and adding the ‘Airtop - Query Page’ Tool step
- Clicking ‘Expand’ to see the full Tool step
- Window ID (Required): Enter the identifier of the browser window containing the page. Type
{{to select a variable from a previous step. - Session ID (Required): Enter the identifier of the browser session. Type
{{to select a variable. - Prompt to query the page (Required): Enter a natural language prompt describing what information you want to extract from the page (e.g., “extract all product names and prices”). Type
{{to select a variable. - Use paginated extraction (Optional): Check this box if the page contains paginated content and you want to extract data from multiple pages automatically.
- Output JSON schema (Optional): Provide a JSON schema (as a string) describing the structure you want returned. When set, Airtop returns structured JSON matching the schema instead of free-form text. Airtop requires draft-07 — include
"$schema": "http://json-schema.org/draft-07/schema#"at the top of your schema, or the request will fail with HTTP 422. - Clicking
Run stepto test out the Tool
Add the ‘Airtop - Screenshot Page’ Tool step
- Creating a new Tool, then clicking
+ Add Step - Searching for and adding the ‘Airtop - Screenshot Page’ Tool step
- Clicking ‘Expand’ to see the full Tool step
- Window ID (Required): Enter the identifier of the browser window containing the page. Type
{{to select a variable from a previous step. - Session ID (Required): Enter the identifier of the browser session. Type
{{to select a variable. - Capture scope (Optional): Choose what to capture.
viewportcaptures only what’s currently visible,pagecaptures the entire scrollable page in one shot,scanperforms a scroll-based capture for sites that don’t render correctly withpage, andautolets Airtop choose. Defaults toauto. - Response format from Airtop (Optional): How Airtop returns the raw screenshot before Relevance re-hosts it.
base64returns inline image data;urlreturns a signed download URL from Airtop’s storage. Either way, the step returns a Relevance-hosted URL. Defaults tobase64for viewport scope andurlfor full-page scopes. - Max scan scrolls (Optional): Scan scope only. Maximum number of scrolls performed while capturing. Defaults to
50. - Scan scroll delay (ms) (Optional): Scan scope only. Delay in milliseconds between scrolls. Defaults to
1000. - Overlap percentage (Optional): Percentage of overlap between captured chunks, between
0and100. Defaults to30. - Partition direction (Optional): How the screenshot is split into chunks:
vertical(default, recommended for most pages),horizontal(for very wide pages), orbidirectional. - Clicking
Run stepto test out the Tool
screenshot_url (the first chunk, kept for backward compatibility) and screenshot_urls (an array of every chunk, all re-hosted on Relevance storage). For scope: viewport there is one chunk; for scope: page and scope: scan there may be several depending on page dimensions and partition direction.
Add the ‘Airtop - Monitor Page for Condition’ Tool step
- Creating a new Tool, then clicking
+ Add Step - Searching for and adding the ‘Airtop - Monitor Page for Condition’ Tool step
- Clicking ‘Expand’ to see the full Tool step
- Window ID (Required): Enter the identifier of the browser window containing the page. Type
{{to select a variable from a previous step. - Session ID (Required): Enter the identifier of the browser session. Type
{{to select a variable. - Condition Description (Required): Enter a description of the condition you want to monitor (e.g., “when the submit button becomes visible” or “when the text ‘Success’ appears on the page”). Type
{{to select a variable. - Timeout Seconds (Optional): Enter the maximum time in seconds to wait for the condition to be met. If the condition is not met within this time, the step will fail.
- Check Interval Seconds (Optional): Enter how frequently (in seconds) to check for the condition. Smaller intervals check more frequently but may use more resources.
- Clicking
Run stepto test out the Tool
Common use cases
- Extracting data from web pages for processing or storage
- Capturing a full-page screenshot as visual proof of automation actions
- Waiting for dynamic content to load before proceeding with automation
- Monitoring pages for specific states or changes
Frequently asked questions (FAQs)
Can I use screenshots in subsequent steps?
Can I use screenshots in subsequent steps?
Yes. Every chunk is re-hosted on Relevance storage and returned as a URL in
screenshot_urls. Pass an entry to any step that accepts an image URL.When should I use viewport, page, or scan capture scope?
When should I use viewport, page, or scan capture scope?
Use
viewport for the visible area only — fastest and always one chunk. Use page for the entire scrollable content in one Airtop call. Use scan for sites that don’t render correctly with page (typically infinite-scroll or lazy-loaded pages); scan performs a scroll-based capture and returns one chunk per scroll position.Why do I get multiple URLs in 'screenshot_urls'?
Why do I get multiple URLs in 'screenshot_urls'?
scope: page and scope: scan can return more than one chunk depending on page dimensions and the partition direction. screenshot_url always points to the first chunk for backward compatibility; iterate over screenshot_urls to access them all.What conditions can I monitor for?
What conditions can I monitor for?
Common conditions include element visibility, text content, and element count.

