pre_trade_check
Evaluates trade risk across market regime, historical loss, and adversarial microstructure traps to return an authoritative ALLOW or VETO verdict before DEX execution.
Instructions
The Master Zero-Hallucination Pre-Trade Risk Gate (§5): synthesizes Layer 1 Market Regime, Layer 2 Historical Loss Quarantine, Layer 3 Adversarial AI Trap Shield (VPIN toxicity, L2 spoof walls, CVD flow divergence), and dynamic SMA retest zones in a single sub-second evaluation. Grounded in real on-chain execution telemetry. Returns an authoritative ALLOW or VETO verdict with explicit causal reasons. Mandatory before DEX execution.
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>"
},
"name": "pre_trade_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Alias for action ("LONG" or "SHORT") | |
| action | No | Candidate trade direction ("LONG" or "SHORT") | |
| symbol | Yes | The asset pair symbol (e.g. "SOL/USD", "BTC/USD", "ETH/USD") |