Autocomplete US City
sthan_autocomplete_cityProvide US city autocomplete suggestions with state for partial city names. Use to resolve incomplete city entries or power type-ahead fields.
Instructions
Return a list of US city suggestions (with state) for partial input. Use for city-field type-ahead, or to resolve a partial city name to its full name and state. For full street-address suggestions use sthan_autocomplete_address; for ZIP codes use sthan_autocomplete_zipcode. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message.
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": {
"text": "<text>"
},
"name": "sthan_autocomplete_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Partial city name. Example: 'San Fr' | |
| display_type | No | 0 = City, StateCode (e.g. 'San Francisco, CA'). 1 = City, State (e.g. 'San Francisco, California') |