keyboard_input
Type text into the currently focused field via the Portal keyboard bridge; set clear=false to append instead of replacing existing content.
Instructions
Types text into the currently focused field using the Portal keyboard bridge. Set clear=false to append instead of replacing the field 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": {
"text": "<text>"
},
"name": "keyboard_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type. | |
| clear | No | Clear the field first (default true). | |
| verify | No | 复查屏幕树确认变更生效 (default true). | |
| verify_poll_ms | No | 轮询树的时间间隔毫秒 (default 300). | |
| verify_timeout_ms | No | 等待变更生效的超时毫秒 (default 3000). |