Web search
rag_search_ddgsSearch the web across multiple engines, rank results locally by semantic similarity, and return selected pages as text for retrieval-augmented answers.
Instructions
Search the web and return the most relevant pages as text. Default choice for lookups. Uses ddgs "auto" metasearch, which queries several engines (DuckDuckGo, Brave, Wikipedia, ...) and skips any that are blocked. Results are re-ranked locally by semantic similarity to the query before the top pages are fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query. Use natural language questions or keywords. Example: "latest developments in quantum computing" | |
| top_k | No | Number of top-ranked pages to fetch and return. Default: 5 | |
| num_results | No | Number of initial search results to rank. More results provide better coverage but increase processing time. Default: 10 | |
| include_urls | No | Whether to include each page's source URL for citation. Default: True |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||