Look at the SAP screen
sap_lookReads an open SAP screen as compact text with control IDs, labels, values, states, table rows, popups, and status messages, so agents can inspect UI elements and retrieve IDs before acting.
Instructions
The SAP screen as compact text: header, one line per control (id, type, label = "value", state), tables as rows, popups as WINDOW, status bar last. Call it first, for the ids; after sap_act it is rarely needed (that answer is the new screen). Again only to read more: a grid or list shows the rows on screen and the total, read others with id and rows (200 at most), never conclude an entry is missing from the rows on screen; a dropdown, tree or text whole: id; menus: id "mbar", one menu whole: id "menu[2]"; toolbar buttons and hidden ids: full. Charts: sap_screenshot.
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_look"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | one control whole: dropdown, grid, table, tree, list | |
| cols | No | with id: columns by id or title, e.g. "VBELN,NETWR" | |
| diff | No | only what changed since your last view | |
| full | No | every id and toolbar button (larger) | |
| rows | No | with id: rows from 0, e.g. "120-180" | |
| session | No | number, id, system, transaction or sapgui|webgui|fiori; default: the active one |