set_position_mode
Switch between One-way Mode and Hedge Mode for Binance Futures trading accounts. Change position mode when no open positions or orders exist.
Instructions
Switch between One-way Mode and Hedge Mode for the account.
Note: Cannot change while any positions or open orders exist.
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": {
"hedge_mode": "<hedge_mode>"
},
"name": "set_position_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hedge_mode | Yes | True = Hedge Mode (LONG+SHORT), False = One-way Mode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||