get_tentacle_config
Retrieve a tentacle's current configuration, schema, and display metadata to inspect its setup before making changes.
Instructions
Fetch one tentacle's current configuration, schema, and display metadata.
Maps to GET /config_tentacle_edit_details/<tentacle> -- see this
module's docstring for the spec correction (the spec named GET /config_tentacle, which has no JSON response path at all). tentacle
is the tentacle's class name (e.g. "DailyTradingMode"), confirmed live
against the OctoBot 2.1.1 test instance.
Returns OctoBot's own JSON body unchanged (NFR-8): {"name": str, "config": object, "displayed_elements": object}. config holds this
tentacle's actual configuration values (the same values
update_tentacle_config's patch argument would merge into);
displayed_elements is the JSON-schema-shaped UI-form metadata
OctoBot's own config page renders from, passed through unsimplified.
Read-only, not confirm-gated. An unknown tentacle name raises an
uncaught exception inside OctoBot's model layer, surfaced as
OctoBotServerError (confirmed live: HTTP 500, plain-text body "Can't find tentacle: <tentacle>", despite a Content-Type: application/json
header that doesn't actually describe the body -- handled via this
module's _extract_error_text, same as update_tentacle_config).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tentacle | Yes |