Fill form
fill_formFill multiple form fields in a single call with per-field error handling. Process fields in order to handle dynamic forms, and optionally return an updated page snapshot.
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 |
|---|---|---|---|
| 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 |