Log in to Kite
loginStarts the daily Kite authentication flow and returns a one-time link so the user can sign in themselves; never asks for credentials.
Instructions
Start the daily Kite login (managed auth mode): returns a one-time login link for the person to open.
Show them the warning and the link. They log in at Kite themselves (user id, password, 2FA); never ask for
their credentials and never try to log in for them.
Kite then redirects to the app's registered redirect URL (redirect_url). This server completes the login
when that redirect reaches it; if the redirect page cannot be reached, the person can copy the request_token
from the browser's address bar (or the whole URL) and you call complete_login with it.
If a valid token already exists nothing is issued, unless force=true; a new login ends the old token at Kite. In external auth mode another program owns the login: this only explains and shows the status.
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | issue a new link even though a valid token exists (the new login ends the old token) |