Get commodity time series
get_time_seriesFetch daily historical commodity prices for one or more symbols within a specified date range, limited to a maximum of one year.
Instructions
Returns daily historical rates for one or more symbols between two dates. The date range cannot exceed 1 year.
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": {
"symbols": "<symbols>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_time_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | ||
| symbols | Yes | Comma-separated commodity symbols, e.g. 'XAU,XAG,BRENTOIL-SPOT'. See the list_symbols tool for valid values. Invalid symbols in a multi-symbol request are silently omitted from the response, not errored. | |
| startDate | Yes | Date in YYYY-MM-DD format. |