close_position
Use this when the user asks to close (fully or partially) an open Hyperliquid position. Risk-reducing: works whenever agent trading is armed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Partial close size in coins. Omit to close the entire position | |
| symbol | Yes | Coin symbol of the open position, e.g. BTC |