Apify
Last updated
Last updated
ApifyTools enable an Agent to access the Apify API and run actors.
The following example requires the apify-client
library and an API token which can be obtained from .
The following agent will use Apify to crawl the webpage: and summarize it.
cookbook/tools/apify_tools.py
api_key
str
-
API key for authentication purposes.
website_content_crawler
bool
True
Enables the functionality to crawl a website using website-content-crawler actor.
web_scraper
bool
False
Enables the functionality to crawl a website using web_scraper actor.
website_content_crawler
Crawls a website using Apify’s website-content-crawler actor.
web_scrapper
Scrapes a website using Apify’s web-scraper actor.
View on