hl_portfolio
Get a portfolio performance snapshot for any Hyperliquid user, including account value and PnL history.
Instructions
Portfolio performance snapshot (account value / PnL history payloads).
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": {
"user": "<user>"
},
"name": "hl_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |