set-margin-mode
Configure margin mode (cross or isolated) for futures trading on exchanges like Binance or Bybit using API keys and symbol details.
Instructions
Set margin mode for futures trading
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": {
"exchange": "<exchange>",
"symbol": "<symbol>",
"marginMode": "<marginMode>",
"apiKey": "<apiKey>",
"secret": "<secret>"
},
"name": "set-margin-mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | API key for authentication | |
| exchange | Yes | Exchange ID (e.g., binance, bybit) | |
| marginMode | Yes | Margin mode: cross or isolated | |
| marketType | No | Market type (default: future) | future |
| secret | Yes | API secret for authentication | |
| symbol | Yes | Trading pair symbol (e.g., BTC/USDT) |