switch_position_mode
Switch position mode between one-way and hedge mode for a trading pair on Bybit. Specify symbol, mode (0 or 3), and optional category and coin.
Instructions
Switch position mode between one-way and hedge mode.
Args: symbol: The trading pair, e.g., BTCUSDT. mode: Position mode: 0 (merged single side), 3 (both sides). category: Product type: linear, inverse (default: linear). coin: Required for inverse. Coin name, e.g., BTC.
Returns: Position mode switch result.
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": {
"symbol": "<symbol>",
"mode": "<mode>"
},
"name": "switch_position_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| mode | Yes | ||
| category | No | linear | |
| coin | No |