update_leverage
Adjust leverage for a specific coin on HyperLiquid. Provide the coin, leverage multiplier, and margin mode (cross or isolated).
Instructions
Update leverage for a coin
Args: coin: Trading pair (e.g., "BTC", "ETH") leverage: Leverage amount (e.g., 10 for 10x) cross_margin: Use cross margin (True) or isolated margin (False)
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>",
"leverage": "<leverage>"
},
"name": "update_leverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| leverage | Yes | ||
| cross_margin | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||