browser_fill_form
Fills multiple browser form fields simultaneously using CSS selectors or other locators with a single JSON input.
Instructions
Fill multiple form fields at once.
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": {
"session_id": "<session_id>",
"form_data": "<form_data>"
},
"name": "browser_fill_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| form_data | Yes | JSON object mapping selectors to values, e.g.: '{"#username": "john", "#password": "secret", "#country": "US"}' | |
| by | No | Selector type for all fields (css, xpath, id, name, class, tag) | css |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |