browser_input
Insert text into the focused browser element on a remote device, ensuring accurate input for CJK characters by using CDP Input.insertText instead of synthetic key events.
Instructions
Insert text into the focused page element.
Uses CDP Input.insertText, which is reliable for CJK unlike synthesised key events.
Args: serialno: The browser device serialno, from list_devices. text: The text to insert.
Returns: JSON response from the API.
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": {
"serialno": "<serialno>",
"text": "<text>"
},
"name": "browser_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |