Search Cities
valet_search_citiesSearch the cities directory by name prefix with population-ranked results. Use this when an agent needs to resolve a partial city name into a canonical city slug plus state slug plus lat/lng before composing valet_find_operators_in_city or valet_find_operators_near. Empty array if no matches.
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": "valet_search_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return; default 8, capped at 25 | |
| query | Yes | Partial or full city name (>=2 chars). Matched against name and lowercase name fields with prefix semantics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | Yes | TOOL-11 ToS and attribution block | |
| cities | Yes | Cities matching the query, ranked by text match then population desc | |
| data_freshness | Yes | TOOL-10 freshness stamp |