get_positions
Retrieve open perpetual positions for any Hyperliquid wallet, including size, entry price, unrealized PnL, ROE, leverage, liquidation price, account value, margin used, and withdrawable amount.
Instructions
Get open perpetual positions for a Hyperliquid wallet (size, entry, mark, uPnL, ROE, leverage, liquidation price) plus account value, margin used, withdrawable.
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": {
"address": "<address>"
},
"name": "get_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Public Hyperliquid wallet address (0x-prefixed, 40 hex chars). |