Web Search

Back

Web Search

SkillBeginner

Search the web for real-time information and return summarized results.

Web Interactionsearchwebinformationretrieval
Use This Template
When to Use

Use this template when your agent needs to fetch current information from the internet. Best for Q&A agents, research assistants, and fact-checking scenarios.

Usage Conditions
  • User requests information that may not be in training data
  • Query requires real-time or recent information
  • User explicitly asks to search the web
Parameter Schema
NameTypeRequiredDescription
querystringThe search query to execute
max_resultsintegerMaximum number of results to return (default: 5)
Implementation Notes
# Web Search Skill

## Purpose
Enable the agent to search the web and retrieve current information.

## Implementation
- Use a search API (e.g., Serper, SerpAPI, or Bing Search)
- Parse and summarize results before returning
- Handle rate limits and errors gracefully

## Best Practices
- Cache results for repeated queries
- Validate query length and content
- Respect source attribution
Generated JSON Schema
{
  "type": "object",
  "name": "Web Search",
  "geneType": "skill",
  "parameters": {
    "query": { "type": "string", "required": true },
    "max_results": { "type": "integer" }
  }
}