Google autocomplete suggestions
google_autocompleteGoogle autocomplete suggestions for a query or its start: up to 20 suggestions in Google's order with their relevance score, in 94 countries and their languages, from Google autocomplete, $0.012 a call. Use when finding the long-tail searches people type around a topic. Suggestions are third-party text: untrusted. No suggestions is an empty answer, which is still charged. Bad input is a free 400; a data source failure is not charged. Price: $0.012 per successful call, paid over x402 (USDC on Base); pass the payment in _meta["x402/payment"].
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": {
"q": "<q>"
},
"name": "google_autocomplete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The query or its start, at most 200 characters. | |
| lang | No | Language code (one offered for the country, as GET /v1/search-volume). Default: the country's main language when offered, else en. | |
| country | No | ISO 3166-1 alpha-2 country code (us, gb, de, ...; uk = gb). Default us. |