Sap Set Radio Button
sap_set_radio_buttonSelects a SAP radio button by its label text, letting agents set form options in desktop GUI or WebGUI sessions. Use sap_get_form_fields first to view available radio buttons and current selection.
Instructions
Select a SAP radio button by its label text.
Use sap_get_form_fields first to see available radio buttons and which is selected.
Args:
label: Radio button label text (e.g., 'Datenbanktabelle', 'Database table')
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_set_radio_button"
}
}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 | No | Label or selector used to find the field | |
| popup | No | Present when a popup dialog is active on screen | |
| value | No | Value that was set | |
| 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. | |
| selector_used | No | CSS selector that matched the field | |
| available_options | No | For dropdown fields: list of valid options when requested value was not found |