set_leverage
Adjust leverage for perpetual futures trading up to 125x, with isolated or cross margin options, to control risk and position size.
Instructions
Set leverage for perpetual futures trading (e.g., BTC/USDT:USDT with 10x leverage). Supports isolated/cross margin.
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": {
"symbol": "<symbol>",
"leverage": "<leverage>"
},
"name": "set_leverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| leverage | Yes | ||
| marginType | No | isolated | |
| positionSide | No | both |