get_positions
Retrieve all open positions for a wallet address, including liquidation price, unrealized PnL, funding fee, borrow fee, and close fee for each.
Instructions
Get all open positions for a wallet address, including liquidation price, unrealized PnL, funding fee, borrow fee, and close fee for each position
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 | Sui wallet address (0x...) to query positions for |