Sap Send Key
sap_send_keyPress supported keyboard and function keys in an SAP GUI window to confirm, navigate, execute, refresh, save, or cancel actions; invalid keys are rejected with available options.
Instructions
Press a keyboard key / function key in the SAP window (sendVKey).
Common keys: Enter (confirm), F1 (Help), F3 (Back), F4 (search help / value help), F5 (Refresh), F8 (Execute), F11 (Save), F12 (Cancel/Escape). Also supports Shift+F1..F9, Shift+F11, Shift+F12, and Ctrl+F, Ctrl+G, Ctrl+P.
A key that is not active on the screen is not sent: the response has an error and available_keys, the keys this screen accepts.
F11 / Save requires user confirmation via elicitation before proceeding; the response then has confirmed_by_user: true. A declined save returns status 'cancelled' with an error, as does a save whose screen changed after the approval (action 'changed'): nothing was sent.
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": {
"key": "<key>"
},
"name": "sap_send_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||