setup_connector
Set up or delete exchange connectors for automated trading with progressive disclosure: list exchanges, show required credentials, select account, and confirm override.
Instructions
Setup or delete an exchange connector for an account with credentials using progressive disclosure.
This tool guides you through the entire process of connecting an exchange with a four-step flow:
1. No parameters → List available exchanges
2. Connector only → Show required credential fields
3. Connector + credentials, no account → Select account from available accounts
4. All parameters → Connect the exchange (with override confirmation if needed)
Delete flow (action="delete"):
1. action="delete" only → List all accounts and their configured connectors
2. action="delete" + connector → Show which accounts have this connector configured
3. action="delete" + connector + account → Delete the credential
Args:
action: Action to perform. 'setup' (default) to add/update credentials, 'delete' to remove credentials.
connector: Exchange connector name (e.g., 'binance', 'binance_perpetual'). Leave empty to list available connectors.
credentials: Credentials object with required fields for the connector. Leave empty to see required fields first.
account: Account name to add credentials to. If not provided, prompts for account selection.
confirm_override: Explicit confirmation to override existing connector. Required when connector already exists.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| connector | No | ||
| credentials | No | ||
| account | No | ||
| confirm_override | No |