solari_browser_login
Get this session signed in. Call it the moment you hit a login form, a 2FA prompt, or anything asking for a password — you must never handle credentials yourself.
It tries the account's connected password manager FIRST: if one is set up for this site, you are signed in automatically and NO human is involved — the reply says signedIn:true and you simply carry on. Otherwise it falls back to asking a human.
Two ways to call it:
HOT — pass sessionId when you are ALREADY on a login wall mid-task. The user gets a live view of the exact page you are on and types into it; you resume on that same page.
COLD — pass profileName when you know a task will need a login and no session is open yet. The user signs in once in a profile editor, and every later solari_browser_create({profileId}) starts already authenticated. Prefer this when you can: nobody has to be watching mid-run. The profile is created if it does not exist.
Pass exactly one of the two. Either way, SHOW THE RETURNED URL TO THE USER, then call solari_browser_await_login.
In the HOT case your access to that session is REVOKED while the handoff is open — deliberately, so you cannot observe what they type — and the link expires in 5 minutes. Cold links last longer and revoke nothing, because there is no session yet.
reason is required and is shown to the user — say plainly which site is asking and what for, because they are being asked to type a password on your say-so.
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": {
"reason": "<reason>"
},
"name": "solari_browser_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| sessionId | No | ||
| profileName | No |