Web Search Tool
This tool can be useful to get up to date information or to do researches doing Web Researches. The Tool do a Web Search based on the passed parameters and show the results in a managed and structured way. This tool allow the agent to do localized search allowing the agent (or the user who configure the agent) to choose the county and the language of the search. To leverage this option be sure to properly configure the system prompt of your agent
Parameters
This are the Tools Parameters. They can be configured as "static" during configuration of the tool or left as dynamic in order to let the llm to configure them.
| Name | Description | Possible Values | Required |
|---|---|---|---|
| query | The web search query | string | Yes |
| results | This sets the maximum number of results per page, 5 to 10 is a normal set of results | number | Yes |
| type | The type of search | 'web', 'images', 'news', 'scholar', 'reviews', 'shopping', 'maps', 'videos', 'places', 'products', 'patents' (default: 'web') | Yes |
| language | The language to search | 'en', 'it', 'pl', 'sq', 'es', 'fr', 'de', 'nl', 'tr', 'ko', 'zh', 'hi', 'sv', 'pt' (default: 'en') | Yes |
| country | 2 letter code to specify the country for the search results | 'it', 'us', 'uk', 'ie', 'pl', 'al', 'es', 'fr', 'de', 'nl', 'tr', 'kr', 'cn', 'in', 'se', 'pt' (default: 'us') | Yes |
When to use this tool
Use this tool when you want to give your agent the ability to search the web for current information and access diverse content types. This is particularly useful for:
- Real-time information retrieval: Get up-to-date news, current events, or recent developments on any topic
- Research and fact-checking: Verify information, find credible sources, or gather comprehensive data on specific subjects
- Image and visual content search: Find relevant images, diagrams, or visual materials using the 'images' search type
- Academic and scholarly research: Access academic papers, research studies, or scholarly articles using the 'scholar' search type
- Shopping and product research: Compare prices, find products, or research purchasing options using 'shopping' and 'products' search types
- News monitoring: Track breaking news, industry updates, or specific events using the 'news' search type
- Local and geographic searches: Find location-based information, businesses, or services using 'maps' and 'places' search types
- Video content discovery: Locate instructional videos, tutorials, or multimedia content using the 'videos' search type
- Patent and technical research: Search for patents, technical innovations, or intellectual property using the 'patents' search type
- Review and feedback analysis: Find user reviews, opinions, or feedback on products/services using the 'reviews' search type
The tool supports multiple search types, languages, and countries, allowing for targeted and localized search results with customizable result limits.