cancel_all_perp_orders
Cancel all open perpetual orders on HyperLiquid to clear active exposure and prevent unwanted fills.
Instructions
Cancel all open perp orders on HyperLiquid.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_all_perp_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | GDEX API key for AES encryption | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| walletAddress | No | Control wallet address | |
| sessionPrivateKey | No | Session private key from sign-in |