usda_esr_get_release_dates
Retrieve USDA ESR export-data release dates and current market years per commodity, with optional since filtering to identify commodities updated after a prior vintage.
Instructions
When ESR last released each commodity's export data, with its current market year.
One request to ESRData_GetDataReleaseInfo, one record per commodity:
release_time_stamp, the last release of the commodity's export data, which can revise
several market years, and the current market year, named by the year it ends in, with its
first and last day. The time stamp is as ESR sends it, without a time zone, since the
documentation names none: meta.published_at is the newest of the whole answer, naive,
with meta.published_at_naive true, and meta.vintage that time's text as ESR sent
it, with or without a filter; both are empty only when ESR lists no commodity. To fetch only
what changed, store meta.vintage, pass it as since on the next call and call
get_exports for the commodities returned; an empty list means nothing was released
since.
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_get_release_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Keep only the commodities whose ``release_time_stamp`` is strictly later than this time, the ``meta.vintage`` text of an earlier call, e.g. ``"2026-10-22T08:30:42.67"``: an ISO date and time without a time zone, as ESR prints it, e.g. ``"2026-10-01T00:00:00"`` (a date alone, ``"2026-10-01"``, is its midnight). A release at exactly that time is not newer. A text with a zone (``"2026-10-22T08:30:42+00:00"``, ``"...Z"``) or one that is not a date and time is refused before the call. Omit (``None``) for every commodity. | |
| commodity_code | No | Keep only this commodity's record, its current market year, an ESR commodity code as ``list_commodities`` gives it, e.g. ``104`` (Wheat - White, June to May), ``401`` (Corn, September to August), ``1701`` (beef muscle cuts, the calendar year). Compared by equality after the one request, since upstream filters nothing; an unknown code is refused before it, naming the closest codes, and a commodity the release list lacks answers the empty list. Omit (``None``) for every commodity. |