HTX Plan Spot Margin Action
htx_plan_spot_margin_actionValidate and normalize a spot-margin transfer, borrow, or targeted repayment plan using live HTX quota checks, producing a review-ready plan before execution.
Instructions
Validate and normalize one spot-margin transfer, borrow, or targeted repayment.
Borrow plans check HTX's live currency quota where available; a ready plan is still a review artifact, not an execution request.
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": {
"action": "<action>"
},
"name": "htx_plan_spot_margin_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| checks | Yes | ||
| status | Yes | ||
| request | Yes | ||
| warnings | Yes | ||
| margin_mode | Yes |