hl_cancel_all_orders
Cancel all open orders on Hyperliquid, optionally by a specific asset symbol.
Instructions
Cancel all open orders, optionally filtered by coin. Requires HL_PRIVATE_KEY in env.
Args: coin: Optional asset symbol to filter (None cancels all)
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": "hl_cancel_all_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |