update_trading_config
Update trading-mode tentacle activation settings by applying a patch that maps tentacle class names to boolean states, enabling or disabling them in the current profile.
Instructions
Update the current profile's trading-mode tentacle-activation config.
Maps to POST /config, JSON body {"trading_config": patch} -- see this
module's docstring for the full source-verified derivation of this exact
shape (the spec's [V]-tagged claim, independently re-confirmed against
OctoBot source this session) and the request-body key's literal value
(TRADING_CONFIG_KEY = "trading_config"). patch is submitted as-is,
unwrapped -- the same shape models.update_tentacles_activation_config
(also used by the tentacle/evaluator activation branches of this same
route) expects: typically a dict mapping tentacle class names to a
boolean (or a "true"/"false" string) activation state.
Output: {"trading_updated_config": <passthrough of OctoBot's own echoed value for this key from its success response>} -- matches the route's
own response shape (NFR-8), narrowed to just this one key rather than
OctoBot's whole /config response envelope, since every other key in
that envelope reflects config domains (tentacle_config,
evaluator_config, global_config, removed_elements) this tool never
sends and is therefore always that route's own empty-string default.
Not confirm-gated (ADR-0003): mutates strategy/tentacle activation
config, does not destroy data, expose credentials, or enable live
trading. Raises TradingConfigUpdateRejectedError on any non-2xx
response -- see this module's docstring for why, for this tool's own
request shape, OctoBot's own error text is confirmed to always be an
empty string in practice, never a substantive message, despite the
spec's original claim otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes |