Fill form
fill_formFill multiple form fields in a single call, processing them in order and reporting per-field success or error even if one fails.
Instructions
Fill several form fields in a single call.
Behaves like fill per field, but costs one round trip instead of one per
field. Fields are processed in the order given, which matters on pages that
reveal or enable later fields in response to earlier ones.
A field that fails does not abort the rest: the response reports success or the specific error per uid, so a partially filled form is always visible rather than silent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| elements | Yes | The fields to fill, in order — each entry is {"uid": "...", "value": "..."}. | |
| include_snapshot | No | Append a fresh page snapshot to the response. Worth it when this action changes the page and take_snapshot would be your next call anyway — it saves a round trip, at the cost of a much larger response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |