propose_hyperliquid_perp_close
Propose closing a Hyperliquid perp position (reduce-only). Omit size to close the whole position. Returns a proposalId for confirm_proposal.
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": {
"walletId": "<walletId>",
"symbol": "<symbol>"
},
"name": "propose_hyperliquid_perp_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Optional; omit to close all | |
| symbol | Yes | ||
| walletId | Yes |