Replace a bot's settings
update_bot_configReplaces a bot's configuration overrides completely and restarts it; not a merge, so send every override the bot should keep. Requires bots:write scope.
Instructions
Replaces the overrides — a full replacement, not a merge, so send every override the bot should keep — and RESTARTS the bot. Orders already resting at a venue are not cancelled by this.
Requires the bots:write scope.
Rate limit: 30 requests per minute for your key, shared across every tool in the control-plane group. Changing configuration is metered far more tightly than reading it. Creating, reconfiguring, stopping and deleting all share this budget, so make one considered change rather than a sequence of adjustments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sim | No | Simulator settings, for a paper bot only. | |
| name | Yes | The bot's name, as list_bots or create_bot answered it. | |
| config | Yes | The complete set of overrides. Anything absent reverts to the script's value. | |
| killSwitch | No | Per-market loss limit: a bare number, or an object whose overall figure is max_loss (snake_case). Omit it, or send 0, to switch the limit off. |