Request Environment Change
request_environment_changeRequest operator approval via Telegram to switch IBKR environment between live and paper trading. Returns approval ID for subsequent execution, with safety locks enabled.
Instructions
Send a request to the operator via Telegram to switch the IBKR connection between 'live' (real-money) and 'paper' (simulated) environments. Returns an approval_id — poll ibkr_check_approval_status until resolved. Once approved, you MUST use the ibkr_execute_environment_change tool with the approval_id to actually apply the change. Switching environments will automatically engage safety locks (orders disabled, dry-run enabled).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| target_env | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Current status: pending | approved | denied | expired | used. | |
| expiresAt | Yes | ISO 8601 timestamp when the request expires. | |
| approvalId | Yes | Unique approval identifier. | |
| resolvedAt | No | ISO 8601 timestamp of resolution. | |
| requestedAt | Yes | ISO 8601 timestamp when the request was created. | |
| resolveNote | No | Who approved or denied. | |
| approvalType | Yes | 'trade', 'trade_intent', or 'live_trading'. | |
| telegramMessageId | No | Telegram message ID if sent. |