Google search
rag_search_googleSearches Google and returns relevant pages as text, re-ranked locally by semantic similarity; falls back to ddgs metasearch with a warning when Google blocks or returns no results.
Instructions
Search Google and return the most relevant pages as text, re-ranked locally by semantic similarity. Google often blocks scrapers. When it returns nothing, this retries with ddgs "auto" metasearch and sends a warning saying so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The query to search for. | |
| top_k | No | Number of top-ranked pages to fetch and return. | |
| num_results | No | Number of initial search results to rank. | |
| include_urls | No | Whether to include each page's source URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||