Brave Search API
gensparx supports Brave Search as a web search provider forweb_search.
Get an API key
- Create a Brave Search API account at https://brave.com/search/api/
- In the dashboard, choose the Data for Search plan and generate an API key.
- Store the key in config (recommended) or set
BRAVE_API_KEYin the Gateway environment.
Config example
Tool parameters
Examples:
Notes
- The Data for AI plan is not compatible with
web_search. - Brave provides paid plans; check the Brave API portal for current limits.
- Brave Terms include restrictions on some AI-related uses of Search Results. Review the Brave Terms of Service and confirm your intended use is compliant. For legal questions, consult your counsel.
- Results are cached for 15 minutes by default (configurable via
cacheTtlMinutes).