List places in an area
list_locationsLists every state (level 1), every county in a state (level 2, parent_id = state id) or every city in a county (level 3, parent_id = county id). Unlike find_location, the list is complete.
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": {
"country": "<country>",
"level": "<level>"
},
"name": "list_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| country | Yes | ISO alpha-2 code. | |
| parent_id | No | State id for level 2, county id for level 3. |