toggle_spot_margin_trade
Enable or disable spot margin trading on your Bybit account. Use "1" to activate or "0" to deactivate.
Instructions
Toggle spot margin trading on or off.
Args: spot_margin_mode: "1" to enable, "0" to disable.
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": {
"spot_margin_mode": "<spot_margin_mode>"
},
"name": "toggle_spot_margin_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot_margin_mode | Yes |