Sap Get Shortcuts
sap_get_shortcutsDiscover keyboard shortcuts for the current SAP screen before clicking buttons; returns each action and key combination to support reliable navigation.
Instructions
Discover keyboard shortcuts available on the current SAP screen. Use BEFORE clicking buttons - shortcuts like F5, Ctrl+S are faster and more reliable. Returns action text and key combination for each available shortcut.
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": "sap_get_shortcuts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| success | No | Whether the operation succeeded | |
| shortcuts | No | List of keyboard shortcuts available on current screen | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. |