Performs a web search using the Tavily API based on a query.
string
): The search query to be executed.select
): Options are “basic” or “advanced”. Determines the depth and thoroughness of the search.string
): A comma-separated list of domains to restrict the search to (e.g., “example.com,anothersite.org”). Leave blank to search the entire web.object
): The JSON response from the Tavily API, typically including the original query, search results (with URLs, titles, snippets/content, scores), response time, and potentially related follow-up questions.