get_sub_regions
Retrieve hierarchical geographic subdivisions from the eBird database to navigate bird observation regions. Specify region type and parent code to get countries, states, or counties.
Instructions
Get sub-regions within a parent region. Examples: get_sub_regions('country', 'world') for all countries, get_sub_regions('subnational1', 'US') for US states.
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": {
"region_type": "<region_type>",
"parent_region_code": "<parent_region_code>"
},
"name": "get_sub_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_type | Yes | Type of sub-regions | |
| parent_region_code | Yes | Parent region code, or 'world' for countries | |
| fmt | No | Response format | json |