Type Text
chrome_typeTypes text into an input element found by CSS selector, optionally clearing existing text first and adding a delay between keystrokes.
Instructions
Type text into an input element.
Finds an input by CSS selector and types text into it.
Args:
selector (string): CSS selector of input element (required)
text (string): Text to type (required)
clearFirst (boolean): Clear existing text first (default: true)
delay (number): Delay between keystrokes in ms (default: 0)
Returns: Confirmation of typing action.
Examples:
Type in search: { selector: "#search", text: "query" }
Type slowly: { selector: "input", text: "text", delay: 50 }
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": {
"selector": "<selector>",
"text": "<text>"
},
"name": "chrome_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type | |
| delay | No | Delay between keystrokes in milliseconds | |
| selector | Yes | CSS selector of input element | |
| clearFirst | No | Clear existing text before typing (default: true) |