type
Enters text into input, textarea, or contenteditable elements by focusing the field, inserting text, and optionally clearing or submitting with Enter.
Instructions
Type text into an input, textarea or contenteditable element: focuses it, then inserts the text as if typed. Returns the updated page content.
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 | |
| clear | No | Replace the existing content instead of appending to it (default: false) | |
| selector | Yes | Element to type into: a ref number from get_page/navigate (e.g. "3") or a CSS selector | |
| pressEnter | No | Press Enter after typing, e.g. to submit a form or send a message (default: false) |