Browser Form Fill
browser_form_fillFill multiple form fields in one browser call by mapping CSS selectors to values, then optionally click a submit button. Handles text inputs, selects, checkboxes, and radios automatically.
Instructions
Fill multiple form fields in one call: { "#email": "user@example.com", "#country": "IN" }. Automatically uses the right interaction per element — types into text inputs/textareas, uses native selection, and clicks checkboxes/radios (interpreting a truthy value as "check it"). Optionally click a submit button afterward.
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": {
"fields": "<fields>"
},
"name": "browser_form_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Force a specific mode. Defaults to extension. | |
| fields | Yes | Map of CSS selector -> value to fill. Non-empty. | |
| sessionId | No | Puppeteer session ID for headless mode. Skips mode selection. | |
| submitSelector | No | CSS selector of a submit button to click after all fields are filled. |