fill_by_label
Fills a form field by its label text, compatible with React, Vue, and Angular. Lists available labels if the specified field is not found.
Instructions
Fill a form field by its label text. Finds the input/textarea associated with the label and fills it. Works with React/Vue/Angular apps. On failure, lists available field labels for debugging.
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": {
"label": "<label>",
"value": "<value>"
},
"name": "fill_by_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label text of the field (case-insensitive partial match) | |
| value | Yes | Value to fill in | |
| browser | No | 'safari' or 'chrome' (defaults to Safari) |