get_prices
Return daily close prices for ticker over the last days, in the
ticker's native currency -- see the currency field on the response.
Costs 1 API credit per day actually returned — same as
GET /v1/prices/{ticker}. Prices come
back reverse-chronological. Crypto is GBP (yfinance BTC-GBP etc.), FX
pairs are a raw exchange rate in the pair's native convention (e.g.
USDJPY is yen per dollar), and everything else (stocks/ETFs/commodity
futures) is native USD -- there is no currency conversion.
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": {
"ticker": "<ticker>"
},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| ticker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||