get_history
Retrieve historical time series data for a US macroeconomic indicator from the FRED database, with optional date range and limit.
Instructions
Get the historical time series for one indicator.
Args: name: Friendly indicator name, for example "cpi" or "sp500". start: Optional first date as YYYY-MM-DD. Defaults to about two years ago. end: Optional last date as YYYY-MM-DD. Defaults to today. limit: Maximum number of data points to return, most recent kept. Defaults to 500.
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": {
"name": "<name>"
},
"name": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| name | Yes | ||
| limit | No | ||
| start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||