usda_esr_list_units_of_measure
Lists ESR units of measure with their IDs and commodity/export unit mappings from packaged data, enabling unit identification without an upstream call.
Instructions
List ESR's units of measure with their ids, the unit_id of every commodity and export.
Answered from ESRData_GetUnitsOfMeasure as packaged with this version
(reference/unitsOfMeasure.json), without an upstream call: 5 units when packaged,
in upstream order: 1 Metric Tons (grains, oilseeds and their products, rice, beef
and pork), 2 Running Bales (the cottons, 1301 to 1404), 3 Pieces (whole hides
and skins, 1601 to 1603), 4 NUMBER (1604, 1606, 1607) and 5 Pounds (1605,
1608). The name field is plural upstream, unit_names, and stays so; the names are
upstream's, unchanged. enums.UnitId names the same ids. meta.retrieved_at is
when the package fetched the list; meta.vintage is empty, as upstream gives the list
no release identifier. Takes no parameters.
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_esr_list_units_of_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||