get_forex_signal
Predict EURUSD and GBPUSD direction (UP/DOWN) using XGBoost with pre-computed features. Get probability and confidence for trading decisions.
Instructions
Run the XGBoost model with pre-computed features from get_market_features.
ticker: 'EURUSD=X' or 'GBPUSD=X' features: the features dict returned by get_market_features()
Returns {ticker, as_of, signal (UP/DOWN), prob_up, confidence} on success, or {error: reason} if features are missing or the ticker is unsupported.
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>",
"features": "<features>"
},
"name": "get_forex_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| features | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||