adjust_leverage
Adjust leverage on an existing position, modifying its risk profile. Higher leverage amplifies both potential returns and liquidation risk.
Instructions
Change leverage (1-100x) on an existing Pear Protocol position. Higher leverage means greater liquidation risk for the same price move. WRITE: changes risk profile of a live position. Requires PEAR_TRADE_ENABLED=true.
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": {
"positionId": "<positionId>",
"leverage": "<leverage>"
},
"name": "adjust_leverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positionId | Yes | ||
| leverage | Yes |