Detect Login Options on Page
gv_detect_login_optionsScans a webpage to detect available login options such as SSO buttons, form fields, 2FA, and captcha, then recommends the optimal login path automatically.
Instructions
Scan the current page (or a URL) for available login options.
Detects SSO buttons (Google, GitHub, Facebook, etc.), username/password form fields, 2FA/OTP fields, and captcha. Returns a recommendation on which login path to take.
Use this BEFORE gv_sign_in when you're not sure what the page offers — it helps the agent decide whether to auto-fill, click an SSO button, or let the user log in manually.
DECISION GUIDE — what to do with the result:
recommendation="sso:google" → click the SSO button for that provider
recommendation="form" → use gv_sign_in with stored credentials
recommendation="ask_user" → multiple SSO options found; ASK the user which provider they want to use
recommendation="manual" → no form/SSO detected; let user do it manually (the browser window is already open)
In ALL cases, the session is saved automatically — the user only needs to log in once per account.
Args: url: Optional URL to navigate to before scanning. If omitted, scans the current page.
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": "gv_detect_login_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |