Documentation
¶
Overview ¶
@sk-task websearch-tool docs: runnable web search example
This example demonstrates the WebSearchTool with real DuckDuckGo search. No API key required — DuckDuckGo works out of the box.
Usage:
go run ./examples/web-search/
To use Tavily or SerpAPI, set the corresponding env var:
TAVILY_API_KEY=... go run ./examples/web-search/ SERPAPI_API_KEY=... go run ./examples/web-search/
Click to show internal directories.
Click to hide internal directories.