docs: update and reorganize documentation (#806)

This commit is contained in:
cperry-goog
2025-06-07 10:47:30 -07:00
committed by GitHub
parent dcaecde844
commit 63757d6a7a
15 changed files with 170 additions and 163 deletions

20
docs/tools/web-search.md Normal file
View File

@@ -0,0 +1,20 @@
# Google Web Search Tool
This document describes the `google_web_search` tool.
## `google_web_search`
- **Purpose:** Performs a web search using Google Search (via the Gemini API) and returns a summary of the results with sources. This tool is useful for finding up-to-date information on the internet.
- **Arguments:**
- `query` (string, required): The search query.
- **Behavior:**
- The tool sends the query to the Gemini API, which performs a Google Search.
- It returns a generated response based on the search results, complete with citations and a list of sources.
- **Examples:**
- Getting information on a topic:
```
google_web_search(query="latest advancements in AI-powered code generation")
```
- **Important Notes:**
- The tool returns a processed summary, not a raw list of search results.
- The response includes citations to the sources used to generate the summary.