type_text
Clears an input field and types the supplied text using a CSS, XPath, ID, name, tag, class, or link selector, with configurable timeout.
Instructions
Clear and type text into an input field.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Strategy | css |
| text | Yes | Text to type | |
| timeout | No | Seconds | |
| selector | Yes | Locator value | |
| clear_first | No |