type
Enter text into web input fields using element refs or CSS selectors, ensuring stable selection across DOM changes.
Instructions
Type text into an input identified by ref or CSS selector. For 2+ fields use fill_form; for special keys (Enter, Escape, Tab, arrows) or shortcuts (Ctrl+K) use press_key.
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": {
"text": "<text>"
},
"name": "type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref (preferred) | |
| text | Yes | Text to type | |
| clear | No | Clear the field first | |
| selector | No | CSS selector (fallback) |