web-search

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 4 Imported by: 0

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/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL