update_copy_trade
Rewrite a Solana copy trade's full configuration to update settings, toggle active/paused, or permanently delete it.
Instructions
Low-level Solana copy trade update (prefer update_copy_trade_settings / pause_copy_trade / resume_copy_trade / delete_copy_trade). Every field is rewritten from this payload, so pass the full current config. isDelete=true permanently deletes the configuration; positions it opened are NOT sold and their TP/SL limit orders are NOT cancelled. isChangeStatus=true TOGGLES active/paused relative to the stored state (sending it twice resumes). isDelete and isChangeStatus cannot both be 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": {
"copyTradeId": "<copyTradeId>",
"traderWallet": "<traderWallet>",
"chainId": "<chainId>",
"buyMode": "<buyMode>",
"copyBuyAmount": "<copyBuyAmount>",
"lossPercent": "<lossPercent>",
"profitPercent": "<profitPercent>"
},
"name": "update_copy_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | API key | |
| userId | No | Control wallet address | |
| buyMode | Yes | 1 = fixed SOL amount, 2 = percentage of trader amount | |
| chainId | Yes | Must be 622112261 (Solana) | |
| copySell | No | Also copy sells | |
| gasPrice | No | Priority fee setting (default "0") | |
| isDelete | No | Permanently delete the configuration (positions stay open) | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| copyTradeId | Yes | Copy trade ID to modify | |
| lossPercent | Yes | Stop-loss % (> 0, < 100) | |
| traderWallet | Yes | Trader wallet address | |
| copyBuyAmount | Yes | SOL amount (mode 1) or percentage 0-100 (mode 2) | |
| copyTradeName | No | Label | |
| profitPercent | Yes | Take-profit % (> 0) | |
| isChangeStatus | No | Toggle active/paused relative to the stored state | |
| sessionPrivateKey | No | Session private key | |
| excludedDexNumbers | No | DEX numbers to exclude | |
| isBuyExistingToken | No | Buy tokens the trader already holds |