Set a price alert
set_price_alertCreate a one-shot Price Alert on toolforex (push + in-app notification when the mid price crosses the target; checked every minute). Step 3 of the /routine: one alert at the entry zone of each directional pair in today's plan. direction ABOVE fires when price >= target, BELOW when price <= target — pick the side the price must travel to reach the entry. Supported symbols: EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, NZDUSD, USDCHF, EURGBP, EURJPY, GBPJPY, GBPAUD, XAUUSD, XAGUSD, USOIL, BTCUSD, ETHUSD. Limit 5 active alerts (20 for VIP). Requires a personal SocialForex API token. Create one at /mt5 (section "Connect an AI assistant (MCP)") and add it to the MCP client as header Authorization: Bearer sfmcp_....
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>",
"targetPrice": "<targetPrice>",
"direction": "<direction>"
},
"name": "set_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | e.g. GBPAUD | |
| direction | Yes | ||
| targetPrice | Yes |