A perps account
get_perps_accountA wallet's Hyperliquid account: its value, what can be withdrawn, and every open position with its size, entry, value, unrealized PnL, leverage and liquidation price.
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": {
"wallet": "<wallet>"
},
"name": "get_perps_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet |