Sap Screenshot
sap_screenshotCapture a screenshot of the current SAP GUI window as a fallback when structured tools return no useful data, with optional save path, highlighting, masking, isolation, and captions.
Instructions
Take a screenshot of the current SAP window: a fallback when the structured tools return nothing useful (e.g. Web Dynpro screens).
save_path (.png, a new file in an existing directory) also writes the full-resolution file; inline=False skips the image. A minimized window or a hidden Business Client tab is refused.
Evidence options, with save_path: highlight=[targets] frames, mask=[targets] blacks out (nothing is saved if one is not found), isolate=True keeps only the highlighted areas, caption="..." adds a strip, include_context=True adds system, client, user and time to it (needs a caption; shows the user ID). A target is an element id, or {"id": , "column": "MATNR", "row": 3} for an ALV cell (row left out: the visible part of the column). It needs a size and must lie inside its container and in the captured window (the popup, when one is open), or nothing is saved. A cell partly scrolled out of view is masked where it shows; for highlight and isolate it is refused (scroll first). mask blacks out the named elements only: the same value in the title or status bar stays visible.
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | ||
| inline | No | ||
| caption | No | ||
| isolate | No | ||
| highlight | No | ||
| save_path | No | ||
| include_context | No |