Learn about the Google Search Tool used by the Newsletter AI Agent
BaseTool
that interacts with the Apify Google Search Scraper actor. Here’s the implementation:
Parameter | Type | Description | Default |
---|---|---|---|
queries | List[str] | Search terms or Google Search URLs | Required |
resultsPerPage | int | Number of results to return per page | 10 |
languageCode | str | Language for search results | ”en” |
forceExactMatch | bool | Wrap query in quotes for exact phrase matching | False |
site | str | Limit search to specific site (e.g. site:example.com) | None |
relatedToSite | str | Filter pages related to specific site | None |
wordsInTitle | List[str] | Filter pages with specific words in title | [] |
wordsInText | List[str] | Filter pages with specific words in text | [] |
wordsInUrl | List[str] | Filter pages with specific words in URL | [] |
quickDateRange | str | Filter by date range (e.g. d10, w2, m6, y1) | “d30” |
beforeDate | str | Filter results before date (YYYY-MM-DD) | None |
afterDate | str | Filter results after date (YYYY-MM-DD) | None |
fileTypes | List[str] | Filter by file types | [] |
mobileResults | bool | Return mobile version of search results | False |
includeUnfilteredResults | bool | Include lower quality results | False |
title
: The title of the search resulturl
: The URL of the search resultdescription
: A snippet of text from the search resultposition
: The position of the result in the search results