Sap Select Tab
sap_select_tabSelects a tab on the current SAP screen by its label text, enabling navigation to specific tab content; optionally targets a named session.
Instructions
Select a tab on the current SAP screen by its label text.
Use sap_get_screen_text to see available tab labels on the current screen.
Args:
label: Tab label text (e.g., 'Address', 'Details', 'Allgemeine Daten')
Session parameter:
session=None (default): Uses primary session ("s1")
session="s2": Targets specific session
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": {
"label": "<label>"
},
"name": "sap_select_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| session | No | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if success=False | |
| label | Yes | Tab label that was selected | |
| 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. |