Skip to main content
SerpApiTools enable an Agent to search Google and YouTube for a query.

Prerequisites

The following example requires the google-search-results library and an API key from SerpApi.

Example

The following agent will search Google for the query: “Whats happening in the USA” and share results.
cookbook/tools/serpapi_tools.py

Toolkit Params

Toolkit Functions

Information