Browser Fill
browser_fillFills a single browser input field by CSS selector in an SAP GUI session. Use it to enter a value into one specific field; to set multiple fields on the same screen, use sap_fill_form instead.
Instructions
Fill a single input field by CSS selector. For filling multiple fields on the same screen, use sap_fill_form instead - it fills all fields in a single call, which is much faster.
Session parameter:
session=None (default): Uses primary session ("s1")
session="s2": Targets specific session (for parallel agents)
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": {
"selector": "<selector>",
"value": "<value>"
},
"name": "browser_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to fill in the field. | |
| session | No | Session ID (e.g., "s1", "s2"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. | |
| selector | Yes | CSS selector of the input field. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| value | Yes | Value that was entered | |
| success | No | Whether the operation succeeded | |
| selector | Yes | Selector that was filled | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. |