forex
Get FX spot rates for any currency pair, with optional technical indicators such as SMA, EMA, RSI, and MACD. Specify base currency, quote currency, and date range to retrieve data.
Instructions
Get FX spot rates for a currency pair with optional technical indicators. The indicators parameter accepts a comma-separated list of technical indicator slugs (e.g. 'sma_20,ema_50,rsi_14,bbands_20,atr_14,macd').
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": {
"base": "<base>",
"quote": "<quote>"
},
"name": "forex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| quote | Yes | ||
| end_date | No | ||
| indicators | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |