get_gold_ohlcv
Fetch historical OHLCV bars for gold (XAUUSD) from Yahoo Finance, supporting multiple timeframes and configurable lookback periods.
Instructions
Historical OHLCV bars for gold from Yahoo Finance.
Args: timeframe: One of "1m", "5m", "15m", "30m", "1h", "4h", "1d", "1wk", "1mo". lookback: Number of most recent bars to return.
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": "get_gold_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookback | No | ||
| timeframe | No | 1h |