WebSearchSkill
Search the web using the Google Custom Search JSON API. Returns titles, links, and snippets.
Class: WebSearchSkill
Tools: web_search
Env vars: GOOGLE_SEARCH_API_KEY, GOOGLE_SEARCH_CX
api_key
Google Custom Search API key. Falls back to the GOOGLE_SEARCH_API_KEY environment variable.
search_engine_id
Google Custom Search Engine ID (CX). Falls back to the GOOGLE_SEARCH_CX environment variable.
max_results
Maximum number of results to return (1-10).
safe_search
Safe search level: "off", "medium", or "high".