nobitex_edit_position_collateral
Set the total collateral for an open margin position by specifying the position ID and new collateral amount, replacing the previous value with the exact decimal string provided.
Instructions
Set the total collateral of an open margin position.
Args: position_id: Position id. collateral: New total collateral as a decimal string (not a delta).
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": {
"position_id": "<position_id>",
"collateral": "<collateral>"
},
"name": "nobitex_edit_position_collateral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collateral | Yes | ||
| position_id | Yes |