segnals_update_bot
Updates a trading bot's configuration by merging only the keys you change, with a preview-and-confirm step that flags risky settings before applying them.
Instructions
Update a bot's configuration. Requires scope: write:bots.
TWO-STEP CONFIRMATION: Call without confirm to preview changes and see risk warnings. Call with confirm: true to apply. The config is merged into the stored one, so send only the keys you change, nested as segnals_get_bot shows them, e.g. { TRADING_PARAMS: { LEVERAGE: 5 } }. The preview reads the bot (scope read:bots) to warn about the config it would hold after the update: martingale enabled, leverage above 10x, stop-loss missing or 0. IMPORTANT: Never include exchange API keys/secrets in the config — users enter those in the dashboard.
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": {
"bot_id": "<bot_id>"
},
"name": "segnals_update_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New bot name | |
| bot_id | Yes | Bot ID to update | |
| config | No | Configuration key-value pairs to update | |
| account | No | The account to act on. Optional: this program holds one account, "default". | |
| confirm | No | Set to true to execute after previewing |