login_request_code
Request a Telegram login code for a phone number to start authentication, then submit the received code to complete sign-in.
Instructions
Start logging in: ask Telegram to send a login code.
Telegram delivers the code in the Telegram app itself if the user is signed in elsewhere, otherwise by SMS. Follow with login_submit_code.
Ask the user for their phone number rather than guessing it.
Args: phone: phone number in international format, e.g. +14155550123. session: which session to log in — 'watcher' (default, the one monitoring needs) or 'mcp' (for this server's read tools).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | ||
| session | No | watcher |