form_fill
Fill a form in one call by mapping field labels, placeholders, or name attributes to values. Handles checkboxes, masks passwords, and can submit the form.
Instructions
Fill a form by field labels in one call. Provide fields as a map from a label, placeholder, or name attribute to the value (string, number, or boolean for checkboxes). Matching is case-insensitive and specificity-ordered; ambiguous keys are returned unmatched with candidates instead of guessed. submit:true clicks the form's own submit control after filling. Passwords are masked in the result. Falls back cleanly: anything unmatched can be filled with form_input using the refs in the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID the form lives in. Use tabs_context first if you don't have a valid tab ID. | |
| fields | Yes | Map from a field's label, placeholder, or name attribute to the value to set (string, number, or boolean for checkboxes). | |
| submit | No | Click the form's own submit control after filling. Default false (fill only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filled | Yes | ||
| skipped | Yes | ||
| submitted | Yes | ||
| unmatched | Yes | ||
| provenance | No | ||
| submit_ref | No | ||
| duration_ms | Yes | ||
| observation | No |