type_text
Types text character by character into the currently focused browser element, simulating real keypresses; focus the target first by clicking it.
Instructions
Type a string of text into the currently focused element. This simulates real keypresses one character at a time. Make sure the target element is focused first (e.g. by clicking on it).
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": {
"session_id": "<session_id>",
"text": "<text>"
},
"name": "type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text string to type. | |
| delay | No | Delay between key presses in milliseconds (default: 0). Use a small delay (e.g. 50) to simulate human-like typing. | |
| session_id | Yes | Session ID from start_browser. |