Cancel order (agent wallet)
hl_cancel_orderCancel a resting order on Hyperliquid with your local agent wallet by providing coin and order ID. Runs as dry-run by default; set confirm=true and dryRun=false to execute.
Instructions
Cancel a resting order by coin + order id via your local agent wallet. Dry-run by default; set confirm=true AND dryRun=false to submit. Analytics/execution helper, not investment advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oid | Yes | Order id (from hl_get_open_orders). | |
| coin | Yes | Perp coin symbol of the order. | |
| dryRun | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| action | Yes | ||
| reason | No | ||
| response | No | ||
| agentAddress | No | ||
| builderAttached | No |