web_search
Searches Google for web results, returning organic listings with title, link, snippet, and optional answer box, knowledge graph, and related searches.
Instructions
Search the web via Google (SearchApi). Returns organic results with title, link, snippet, plus optional answer box, knowledge graph and related searches.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gl | No | Country code, e.g. 'us', 'tw' (default us). | |
| hl | No | Interface language, e.g. 'en' (default en). | |
| page | No | Results page (default 1). | |
| query | Yes | The search query. | |
| location | No | Geographic location for the search. |