Web Search
web_searchSearch the web with Google Grounding, focusing results by topic and controlling output length with response style (concise, detailed, bullets, or code).
Instructions
Google Search with Grounding. Set topic to scope results; responseStyle controls output length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. | |
| topic | No | Domain focus (e.g. "TypeScript", "Docker"). Set to avoid irrelevant results. | |
| responseStyle | No | concise: 2-4 sentences. detailed: full explanation. bullets: list. code_focused: code snippets. | concise |
| maxChars | No | Truncate response text to this many characters. Default: no truncation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| result | No | Successful result payload. | |
| error | No | Error payload when ok is false. |