usda_psd_list_countries
List USDA PSD countries with their codes and regions, then filter by region code or search text across country names, codes, and GENC codes. Use it to find valid country_code values.
Instructions
List PSD's countries with their codes and regions, the values country_code takes.
Answered from PSDData_GetCountries as packaged with this version
(reference/countries.json), without an upstream call: 251 countries when
packaged, in upstream order, each with its PSD region (list_regions) and its GENC
code where upstream has one. Codes are PSD's own, not ISO: "US" United States,
"BR" Brazil, "CH" China, "E4" European Union; aggregates such as "T3"
Africa, NEC have no GENC code. meta.retrieved_at is when the package fetched the
list (2026-10-28, UTC); meta.vintage is empty, as upstream gives the list no
release identifier.
Args:
region_code: Keep the countries of this PSD region, spelled exactly as
list_regions spells it, e.g. "R01" (North America, 5 countries),
"R05" (European Union), "R11" (Sub-Saharan Africa). "R15" holds
four countries (Africa, NEC; Fernando Po; French Equatorial Africa; Other)
although list_regions lacks it. A code no country carries yields an
empty list. Omit (None) for every region.
search: Keep the countries where this text occurs, ignoring case, in the code,
the name or the GENC code, e.g. "united" (TC United Arab Emirates, UK
United Kingdom, US United States), "USA" (US United States, by its GENC
code), "E4", "brazil". Omit (None) for every country.
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": "usda_psd_list_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| region_code | No |