Hyperliquid trade plan
hl_trade_planPure position planning for a Hyperliquid perp: size from risk (riskUsd ÷ |entry − stop|) or from sizeUsd/size, notional, margin, R multiple to take-profit, estimated liquidation price, maxLeverage and size-decimals checks. Leash does not place Hyperliquid orders. Place it yourself in Hyperliquid or through an agent key you control.
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": {
"coin": "<coin>",
"side": "<side>",
"stopPrice": "<stopPrice>",
"leverage": "<leverage>"
},
"name": "hl_trade_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Coin, e.g. 'BTC' | |
| side | Yes | ||
| size | No | ||
| riskUsd | No | ||
| sizeUsd | No | ||
| leverage | Yes | ||
| stopPrice | Yes | ||
| entryPrice | No | ||
| takeProfitPrice | No |