fill_form
Fill a complete form with one API call using element refs or CSS selectors. Supports text, select, checkbox, and radio inputs; partial errors report per-field status for targeted retry.
Instructions
Fill a complete form with one call — the preferred way to submit any form with 2+ fields. Each field needs ref or CSS selector plus value. Supports text inputs, (by value or visible label), checkboxes (boolean), and radio buttons. Use this INSTEAD of multiple type calls or evaluate-setting select.value: one round-trip, partial errors do not abort, each field reports its own status. On per-field errors, call view_page and retry the failing fields — DO NOT escape to evaluate(querySelector) to patch individual fields; it bypasses framework state management (React, Vue) and hides real bugs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Array of fields to fill. Each field needs ref or selector plus value. |