update_tentacle_config
Update a single tentacle's configuration for the active OctoBot profile by sending a patch of changed fields. Applies the changes and returns the updated fields plus OctoBot's confirmation.
Instructions
Update one tentacle's configuration for the currently active profile.
Maps to POST /config_tentacle?name=<tentacle>&action=update, JSON
body = patch (the raw patch dict, unwrapped) -- see this module's
docstring for the full source-verified/live-reproduced derivation of
this exact shape, including why a distinct batch route
(POST /config_tentacles) exists but is deliberately not exposed here.
OctoBot's own success response body is the literal JSON string
"<tentacle> updated" (confirmed live: DailyTradingMode, toggled and
restored during this milestone's verification). Failure (confirmed live
with an unrecognized tentacle name: HTTP 500, plain-text body "Can't find <tentacle> class") is handled via this module's
_extract_error_text, since that body is not actually JSON despite the
Content-Type: application/json header OctoBot still sends.
Output: {"tentacle": str, "updated_fields": patch, "message": str} --
message is OctoBot's own decoded success string; updated_fields
echoes the patch this tool sent (same idiom as
octobot_mcp.tools.profiles.update_profile).
Not confirm-gated (ADR-0003): mutates tentacle configuration, does not
destroy data, expose credentials, or enable live trading. Raises
TentacleConfigUpdateRejectedError on any non-2xx response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| tentacle | Yes |