update_strategy
Resize a strategy or copy trade: raise or lower its leverage (offered levels only) or allocation cap. Moving into a high-risk level needs acceptHighRisk: true. The loss cap can be added or lowered, never raised or removed (OWNER_PASSKEY_REQUIRED).
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": {
"id": "<id>",
"walletId": "<walletId>"
},
"name": "update_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| leverage | No | New leverage (higher or lower) | |
| walletId | Yes | ||
| autoStops | No | Copy trades only: keep a full-size stop on every copied position (on by default). API keys may turn it on, never off. | |
| maxLossPct | No | New loss cap, whole percent. API keys may add a cap or lower it, never raise or remove it. | |
| acceptHighRisk | No | Required when the new leverage is a high-risk level you have not already accepted. | |
| maxAllocationUsd | No | New allocation cap in USD (higher or lower), e.g. "800" |