switchPositionMode
Switch Bybit position mode between one-way (0) and hedge (3) for USDT perpetual contracts. Requires symbol or coin; ensure no open positions or orders before switching.
Instructions
Switch between one-way mode (mode=0) and hedge mode (mode=3). Only USDT perpetual supports hedge mode. Either symbol or coin must be provided.
Agent hint: Use this to switch between one-way (mode=0) and hedge/two-way (mode=3) position mode. Only USDT perpetual contracts support two-way mode. Ensure no open positions or orders exist on the symbol before switching. Either symbol or coin must be provided; symbol takes priority.
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": {
"category": "<category>",
"mode": "<mode>"
},
"name": "switchPositionMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | ||
| mode | Yes | ||
| symbol | No | ||
| category | Yes |