suggest
Resolve incomplete user input with real-time autocomplete suggestions for business names, cities, or categories. Quickly disambiguate queries like 'Copen' to 'Copenhagen' before searching.
Instructions
Autocomplete / type-ahead for business names, cities, or categories. Use this when you need to disambiguate user input before searching — e.g. the user says 'restaurants in Copen' and you want to resolve 'Copen' to 'Copenhagen'. Returns up to 15 suggestions sorted by relevance. Fast (<20ms).
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": "suggest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Query prefix, min 2 characters (e.g. 'nom', 'copenh', 'dent') | |
| type | No | What to autocomplete: 'business' (names), 'city' (city names), 'category' (business categories). Default: 'business'. | business |
| country | No | Optional ISO country code to narrow suggestions (e.g. 'DK', 'US') | |
| limit | No | Max suggestions to return (default: 10, max: 15) |