Log the browser tab in
loginSigns a browser tab into the app under test using locally stored credentials, keeping passwords out of the model; handles sign-in forms or expired sessions and returns a run_in_page script if needed.
Instructions
Logs the browser tab under test into its app with a locally stored profile, without revealing the credentials. Call it whenever the app shows a login form or the session expired. With Chrome remote debugging it fills the tab itself; otherwise it returns run_in_page with a one-time script for you to run in the tab.
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 |
|---|---|---|---|
| url | No | Current URL of the tab to log in. Recommended; required when several profiles or tabs exist. | |
| profile | No | Profile name from list_profiles. Needed only when several profiles match. |