🦁
brave-search
seadog
Search the web, news, and get suggestions with full control
v0.1.0
Public
Comprehensive web search powered by the Brave Search API. Returns richly structured results including titles, URLs, descriptions, extra snippets, FAQs, infoboxes, and video results.
Functions:
- web-search: Search the web with pagination, freshness filtering (day/week/month/year), country/language targeting, safe search, result type filtering, and optional AI summaries.
- news-search: Search for news articles with the same filtering options.
- suggest: Get autocomplete/search suggestions for partial queries.
Setup:
- Required: BRAVE_API_KEY
Usage:
- Use web-search for general queries, news-search for current events.
- Set freshness to "pd" for past day, "pw" for past week to get recent results.
- Enable summary=true for AI-generated answer summaries.
Interface
Exports
seadog:brave-search/search@0.1.0
web-search(args-json: string)
news-search(args-json: string)
suggest(args-json: string)
Imports
wasi:io/poll@0.2.6
wasi:io/error@0.2.6
wasi:io/streams@0.2.6
wasi:http/types@0.2.4
wasi:http/outgoing-handler@0.2.4
wasi:cli/environment@0.2.6
wasi:cli/exit@0.2.6
wasi:cli/stderr@0.2.6