Browser Keyboard
browser_keyboardSend keyboard input to SAP GUI sessions to press keys or type text character by character for navigation and field entry during UI automation.
Instructions
Send keyboard input (key press or text typing). Important: For SAP shortcuts like Ctrl+S, prefer sap_press_key which auto-reads the status bar! For filling multiple form fields, use sap_fill_form - much faster. Args: key = key to press (e.g., 'Enter', 'Tab', 'F3'), text = text to type character by character.
Session parameter:
session=None (default): Uses primary session ("s1")
session="s2": Targets specific session (for parallel agents)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_keyboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key to press (e.g., 'Enter', 'Tab', 'F3'). | |
| text | No | Text to type character by character. | |
| session | No | Session ID (e.g., "s1", "s2"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key pressed | |
| text | No | Text typed | |
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| success | No | Whether the operation succeeded | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. |