Stocks Get Chart
stocks_get_chartGets historical price data for a stock symbol. Range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max.
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": {
"symbol": "<symbol>"
},
"name": "stocks_get_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Time range (default: 1mo) | |
| symbol | Yes | Ticker symbol, e.g. AAPL | |
| interval | No | Data interval (default: 1d). Intraday (1m–90m) needs a short range. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | ||
| range | No | ||
| symbol | No | ||
| candles | No | ||
| currency | No | ||
| interval | No | ||
| change_pct | No | ||
| data_points | No | ||
| downsampled | No | Present when the candles were thinned to the cap: {from, to} point counts. | |
| current_price | No |