type
Simulates keystrokes to enter text into a focusable element matched by a CSS selector, firing key events for inputs or contenteditable regions.
Instructions
Type text into a focusable element matching the CSS selector, simulating keystrokes (fires key events). Use for typing into inputs or contenteditable regions. For filling a form field in one shot, prefer fill.
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": "type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type | |
| delay | No | Delay between keystrokes in ms (0 = instant) | |
| selector | Yes | CSS selector of the element, e.g. #search-button, input[name=q] |