Submit Telegram login code
auth_codeSubmit the login code Telegram sent to the account to complete authentication and continue accessing approved chats.
Instructions
Submit the login code Telegram sent to the account.
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": {
"code": "<code>"
},
"name": "auth_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The login code from Telegram (digits, sometimes with letters). |