Type credentials into a login form
browser_fill_loginTypes a given username and password into login form fields via real keystrokes, then optionally submits the form.
Instructions
Type a username and password into a form using real keystroke input (not a scripted value assignment), then optionally submit. This is the "you give me credentials, I fill them" path — the agent types what it was given. It does NOT use the browser password manager: MEASURED, Firefox native autofill only fills after a human picks an entry from its own dropdown, which is native UI no automation can click.
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": {
"username": "<username>",
"password": "<password>"
},
"name": "browser_fill_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| submit | No | Submit the form afterwards (default false — fill only) | |
| context | No | Tab context id (default: the active tab) | |
| password | Yes | Password to type | |
| username | Yes | Username to type | |
| passwordSelector | No | CSS selector for the password field (default: form autocomplete=current-password, else first password input) | |
| usernameSelector | No | CSS selector for the username field (default: form autocomplete=username, else first text input in the form) |