setMarginMode
Switch your Bybit account margin mode to isolated, regular, or portfolio margin to align risk settings with your trading strategy.
Instructions
Switch account margin mode (portfolio margin, etc.)
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": {
"setMarginMode": "<setMarginMode>"
},
"name": "setMarginMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setMarginMode | Yes |