request_login_code
Отправить код входа клиенту, который сам попросил войти. Канал: sms, telegram или max. Клиент должен быть в базе. Если мессенджер не привязан, в ответе будет ссылка на бота. Код в ответ не входит.
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>",
"channel": "<channel>"
},
"name": "request_login_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Телефон клиента | |
| channel | Yes | sms, telegram или max |