getTradeAutoRepay
Retrieves the authenticated Unified account's saved trade auto-repayment switch, showing whether account-wide auto repayment is enabled for Cross and Portfolio margin modes.
Instructions
Retrieve the authenticated Unified account's saved setting for trade auto repayment. result.autoRepay is "1" for enabled or "0" for disabled; this does not report whether any individual trade triggered repayment. Trade auto repayment runs only in Cross and Portfolio margin modes; an enabled saved setting has no effect in Isolated mode. This account-wide switch is separate from scheduled auto repayment queried by getSpotMarginTradeAutoRepayMode. Locally limited to 50 requests per rolling second per path within one MCP process. Business failures surface as MCP tool errors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getTradeAutoRepay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||