chrome_type_text
Type text into an input field using its label, with fallback to aria-label and placeholder, and get actionable error suggestions if not found.
Instructions
Type text into an input field by its associated label (semantic alternative to chrome_type). Searches for input by: label "for" attribute, parent label, aria-label, placeholder (in order). Returns actionable error with suggestions if input not found or multiple matches. Prefer this over chrome_execute_script for form filling.
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>",
"text": "<text>"
},
"name": "chrome_type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type into the input field | |
| label | Yes | Label text to search for (searches multiple label sources) |