login_send_code
Start phone-number login by sending a verification code to the provided international phone number, then complete the login with that code.
Instructions
Первый шаг входа по номеру: Telegram пришлёт код. phone — в международном формате, например +79991234567. Затем вызовите login_complete(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": "login_send_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||