browse_locations
Explore UK Parliament locations by type and name to view the hierarchy of countries, regions, and constituencies. Returns parent and child locations matching your search.
Instructions
Browse locations by type and name, returning parent and child locations | location browse, constituency type, country region | Use when exploring the location hierarchy (e.g. countries, regions, constituencies) | Returns list of locations matching the type and name
Args:
location_type: Type of location (e.g. 'Constituency', 'Country', 'Region').
location_name: Name of the location to browse.
Returns:
List of parent and child locations matching the criteria.
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": {
"location_type": "<location_type>",
"location_name": "<location_name>"
},
"name": "browse_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location_name | Yes | ||
| location_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |