form_fill
Fills multi-field forms on Android devices by matching labels to nearby input fields, tapping, and typing values. Supports text, checkboxes, and dropdowns.
Instructions
Fill a multi-field form. Provide an array of {label, value} pairs. For each pair, finds the nearest input field to the label text, taps it, and types the value. Handles checkboxes and dropdowns by label matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Array of form fields to fill | |
| serial | No | Device serial number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | Errors encountered per field | |
| filled | Yes | Number of fields successfully filled |