Remember a sign-in for next time
browser_credentials_saveSave site credentials—username, password, or preferred Google account—so future logins can be filled automatically. Useful for SSO sites where only a Google account is stored.
Instructions
Store a username, password, or preferred Google account for a site, so the next login needs nobody.
Call this right after the user gives you credentials, before you use them — if the login then fails you have still saved them the retyping. Saving only a googleAccount is normal for sites behind SSO, where there is no password to hold.
Stored at mode 600 outside the repository. Passwords are never read back out; they can only be typed into a page by browser_credentials_fill.
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": {
"domain": "<domain>"
},
"name": "browser_credentials_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Non-secret hint for next time, e.g. "use the Sign in with Google button, the form rejects this". | |
| domain | Yes | Site the credentials belong to — a host or a URL, e.g. "mercury.com" or the page you are on. Prefer the parent domain when a site spans subdomains. | |
| password | No | Password. Never echo this back to the user or into your reply. | |
| username | No | Username, email, or account id. | |
| googleAccount | No | Which account to choose at a Google "Choose an account" screen, e.g. "you@gmail.com". |