yandex_login
Generates a Yandex OAuth authorization link to start sign-in; after user confirms, submit the returned code to finish authentication.
Instructions
Шаг 1 входа в Яндекс: выдаёт ссылку авторизации, которую нужно показать пользователю. Терминал не нужен. После подтверждения вызови yandex_submit_code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "yandex_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | manual (по умолчанию) — пользователь копирует код со страницы Яндекса; localhost — код приходит на 127.0.0.1:8765 сам, но приложение должно быть зарегистрировано с этим Redirect URI | |
| services | No | metrika, webmaster, direct; по умолчанию все три |