Web Search Skill
This skill enables you to search the web for current, up-to-date information.
How It Works
This skill provides instructions and context. To execute web searches, connect the Web Search Tool node to the Zeenie's input-tools handle.
web_search Tool
Search the web and get relevant results.
Schema Fields
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | The search query to look up on the web |
Examples
Basic search:
json
{
"query": "latest news about artificial intelligence"
}
Factual search:
json
{
"query": "population of Tokyo 2024"
}
Current events:
json
{
"query": "weather forecast New York today"
}
Technical search:
json
{
"query": "how to use Python asyncio gather"
}
Response Format
json
{
"query": "artificial intelligence news",
"results": [
{
"title": "AI Breakthrough in Medical Research",
"snippet": "Researchers have developed a new AI model that can predict...",
"url": "https://example.com/ai-medical-research"
},
{
"title": "OpenAI Announces New Model",
"snippet": "The company revealed its latest advancement in...",
"url": "https://example.com/openai-announcement"
}
],
"provider": "duckduckgo"
}
When to Use Web Search
Use web search when the user asks about:
- •Current events and news - Recent happenings, breaking news, current affairs
- •Real-time data - Stock prices, weather, sports scores, exchange rates
- •Recent information - Events, releases, or changes after your knowledge cutoff
- •Specific facts - Population, statistics, dates that may have changed
- •Technical documentation - Latest API docs, library versions, tutorials
- •Local information - Business hours, addresses, phone numbers
- •Product information - Prices, availability, reviews
When NOT to Use Web Search
Avoid searching when:
- •General knowledge - Well-established facts that won't change
- •Simple calculations - Use the calculator tool instead
- •Creative tasks - Writing, brainstorming, analysis
- •Personal advice - Relationship, life decisions
- •Subjective opinions - Preferences, recommendations without factual basis
Search Query Best Practices
Do:
- •Use specific, focused queries
- •Include relevant keywords
- •Add context like dates, locations, or names
- •Break complex questions into simpler searches
Don't:
- •Use overly long queries (keep under 10 words when possible)
- •Include unnecessary words like "please" or "can you tell me"
- •Ask questions as full sentences (use keywords instead)
Examples of Good vs Bad Queries
| Bad Query | Good Query |
|---|---|
| "Can you please tell me what the weather is like in London today?" | "London weather today" |
| "I want to know about the latest iPhone model and its features" | "iPhone 15 Pro specifications" |
| "What is happening in the stock market right now?" | "stock market news today" |
Handling Results
- •Summarize the key findings from search results
- •Cite sources when providing specific information
- •Indicate uncertainty if results are conflicting or unclear
- •Suggest follow-up searches if the initial results are insufficient
- •Combine multiple searches for comprehensive answers
Provider Information
The Web Search Tool supports multiple providers:
| Provider | API Key Required | Notes |
|---|---|---|
| DuckDuckGo | No | Free, privacy-focused, good general results |
| Serper API | Yes | Google-powered, high quality, requires API key |
| Google Custom Search | Yes | Direct Google results, requires setup |
The default provider (DuckDuckGo) works without any API key.
Limitations
- •Results depend on the search provider's index
- •Some recent events may not be indexed immediately
- •Paywalled content may show limited snippets
- •Results are in English by default
Setup Requirements
- •Connect this skill to Zeenie's
input-skillhandle - •Connect the Web Search Tool node to Zeenie's
input-toolshandle - •(Optional) Configure API key in the tool node for Serper or Google