tg_login_phone
Submit a phone number to begin headless Telegram login; the verification code arrives on other logged-in devices or by SMS for the next code submission step.
Instructions
Headless login step 1: submit the phone number. The code arrives on the account's other logged-in devices (or SMS); pass it to tg_login_code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"phone": "<phone>"
},
"name": "tg_login_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |