usda_nass_get_production
Retrieve annual final USDA NASS crop production or yield figures for a commodity and year, with optional state or national totals; excludes in-season forecasts.
Instructions
The final production or yield of a crop for a year, state or national.
Annual final figures (reference_period_desc YEAR, domain_desc TOTAL,
prodn_practice_desc ALL PRODUCTION PRACTICES, freq_desc ANNUAL), so
breakdowns by irrigation and the like and the in-season forecasts are left out;
get_production_forecasts serves the latter. Utilisations, classes and units come
as rows, the columns tell them apart: util_practice_desc grain from silage,
class_desc a crop's classes (wheat's ALL CLASSES, WINTER, ...),
unit_desc the unit (BU, TONS, BU / ACRE), and the value of production
comes as rows with unit_desc $. value is the figure as published,
value_number its parsed form. Sorted by state, utilisation, class, unit and
source. Cost: one keyed call, without a count first; meta.total stays None.
Args:
commodity: Upstream commodity_desc, e.g. "CORN", "SOYBEANS",
"WHEAT", "COTTON"; list_param_values("commodity_desc") lists them.
year: Crop year, e.g. 2023.
statistic: ProductionStatistic.PRODUCTION or ProductionStatistic.YIELD.
state: Two-letter state code for the state figure, e.g. StateAlpha.IA;
None returns the national US TOTAL figure.
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": {
"commodity": "<commodity>",
"year": "<year>",
"statistic": "<statistic>"
},
"name": "usda_nass_get_production"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| state | No | ||
| commodity | Yes | ||
| statistic | Yes |