check_accounts_compatible
Verify that each named exchange's stored credentials work against its existing OctoBot account configuration, with no secret values needed.
Instructions
Check whether each named exchange's already-configured account is usable.
Maps to POST /api/are_compatible_accounts. OctoBot's real request
body for this route is more general than this tool's input -- it
expects a dict keyed by exchange, each value an object with
exchange/apiKey/apiSecret/apiPassword/sandboxed fields meant
for OctoBot's own "test these credentials" UI form (confirmed against
OctoBot source models/configuration.py::are_compatible_accounts()
and octobot_commons.constants, [V] this session -- this is a
correction of this tool's spec entry, which only names
exchange_names; see the implementation report for detail).
This tool deliberately narrows that to just exchange_names and
always submits OctoBot's own masked-placeholder value ("******")
for the credential fields, so it checks compatibility using whatever
credentials are already stored on the OctoBot instance for each
named exchange, never a credential supplied through this call.
Confirmed from source: OctoBot only treats a non-placeholder value as
a real credential update (_is_real_exchange_value) and otherwise
falls back to the exchange's already-configured encrypted value, so a
placeholder-only request checks the existing configuration without
ever transmitting or requiring a real credential. No credential value
passes through this tool's input or output. Read-only in effect, not
confirm-gated. Returns OctoBot's own JSON body unchanged (NFR-8).
CAVEAT: sandboxed is currently hardcoded to False for every
exchange checked, regardless of how that exchange is actually
configured on the instance. It is unconfirmed whether OctoBot's
credential-fallback path uses this value to pick which environment
(testnet vs. production) to validate stored credentials against; if
it does, a genuinely sandboxed exchange may be checked against the
wrong environment. Treat this tool's result with caution for any
exchange you know to be configured in sandbox/testnet mode until this
is confirmed against source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange_names | Yes |