levelsfyi_cities
Look up Levels.fyi cities by name to retrieve city IDs, coordinates, country info, and the associated DMA market ID and name for location and region mapping.
Instructions
Look up Levels.fyi cities, regions and their market ids. Matches cities by name and returns each match's id, country id and flag, display name, coordinates, and the DMA market id and name it belongs to. Use it to find a city-level location, and to read the DMA market name whose slug form identifies the wider region. The source returns at most 15 matches per query and ranks them itself; a query that matches nothing is an honest empty result.
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": "levelsfyi_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | City name or prefix, 1 to 80 characters |