Web Search Tools
Web search tools enable agents to find information online, scrape web content, and access knowledge repositories like Wikipedia and arXiv.Web Search
web_search
Search the web using multiple providers (Google Custom Search or Brave Search).Search query (1-500 characters)
Number of results to return (1-20 for Brave, 1-10 for Google)
Country code for localized results (us, uk, de, etc.)
Language code for results (en, es, fr, etc.) - Google only
Search provider: “auto”, “google”, or “brave”
Configuration
Set up credentials for your preferred provider:- Brave Search
- Google Custom Search
When
provider="auto", the tool tries Brave first for backward compatibility, then falls back to Google.Web Scraping
web_scrape
Scrape and extract content from web pages.URL to scrape
Extract clean text content
Extract all links from the page
Extract meta tags and page metadata
Example
Wikipedia
search_wikipedia
Search Wikipedia for pages and summaries.Search query
Maximum number of results (1-10)
Wikipedia language edition (en, es, fr, de, etc.)
Academic Papers
search_papers
Search arXiv for scientific papers.Search query
Maximum papers to return (1-100)
Sort order: “relevance”, “lastUpdatedDate”, or “submittedDate”
Example
download_paper
Download a PDF from arXiv.Scholarly Search (SerpAPI)
scholar_search
Search Google Scholar for academic papers.Requires SerpAPI credentials:
SERPAPI_API_KEYscholar_get_citations
Get citations for a specific paper.scholar_get_author
Get author profile and publications.Patent Search (SerpAPI)
patents_search
Search for patents using SerpAPI.patents_get_details
Get detailed information about a specific patent.Semantic Search (Exa)
exa_search
Perform semantic search using Exa AI.Requires Exa API key:
EXA_API_KEYNatural language search query
Number of results (1-100)
Search type: “auto”, “keyword”, or “neural”
Example
exa_answer
Get direct answers to questions using Exa.exa_find_similar
Find pages similar to a given URL.exa_get_contents
Retrieve full content for a list of URLs.News Search
news_search
Search for news articles.Search query
Language code
Country code
Start date (YYYY-MM-DD)
End date (YYYY-MM-DD)
Example
news_headlines
Get top headlines by category.news_by_company
Get news articles about a specific company.news_sentiment
Analyze sentiment of news articles.Rate Limits & Best Practices
Respect Rate Limits
Respect Rate Limits
Most search APIs have rate limits:
- Brave Search: 1,000 queries/month (free tier)
- Google Custom Search: 100 queries/day (free tier)
- SerpAPI: Varies by plan
Cache Results
Cache Results
Cache search results to avoid redundant API calls:
Handle Timeouts
Handle Timeouts
All search tools use 30-second timeouts. Handle timeout errors gracefully:
Filter Results
Filter Results
Use specific queries and filters to get relevant results:
- Add date ranges for recent content
- Specify language and country codes
- Use boolean operators: AND, OR, NOT
Next Steps
Communication Tools
Email, Slack, Discord integration
Cloud APIs
Google services and GitHub