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.
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>"
},
"name": "form_fill"
}
}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 |