browser_fill_form
Fill multiple form fields in one ordered call with trusted input, then read back every field to verify values; stops at the first unconfirmed field and never submits.
Instructions
Fills several fields in ONE call, in order, with the same gestures as browser_fill, browser_select_option and browser_check (trusted typing), then READS BACK the whole form without any gesture. Each field: "mark" (number from browser_interactive_map, call it first) and one value: "value" (text), "option" (visible text of a option) or "checked" (true/false). E.g. [{"mark": 1, "value": "Marie"}, {"mark": 4, "option": "Lille"}, {"mark": 6, "checked": false}]. Everything is validated before the first gesture. Stops at the first unconfirmed field (error, dialog open, value refused or reset by the page): the following ones are not touched. After the last gesture, each field (the same element, by its mark) is read back: all_verified=true only if ALL still hold the wanted value. Never submits the form: the submit button stays a browser_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": {
"fields": "<fields>",
"tab_id": "<tab_id>"
},
"name": "browser_fill_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| tab_id | Yes | Your tab's id (from browser_new_tab, or a tab adopted with browser_adopt_tab). |