List states, counties and cities
list_locationsStates, counties, and cities, with the numeric ids search filters accept. level is "state", "county" (with stateId), or "city" (with stateId and countyId). Names and abbreviations are also accepted on search filters. Does not use credits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Defaults to "state". | |
| stateId | No | Required for level "county" and "city". | |
| countyId | No | Required for level "city". |