add_reduce_margin
Add or reduce margin for a position in isolated margin mode. Provide symbol, category, and margin amount (positive to add, negative to reduce).
Instructions
Add or reduce margin for a position (isolated margin mode).
Args: category: Product type: linear, inverse. symbol: Symbol, e.g., BTCUSDT. margin: Positive to add (e.g., "10"), negative to reduce (e.g., "-10"). position_idx: 0: one-way, 1: hedge-Buy, 2: hedge-Sell (default: 0).
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": {
"category": "<category>",
"symbol": "<symbol>",
"margin": "<margin>"
},
"name": "add_reduce_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| margin | Yes | ||
| position_idx | No |