Sap Screenshot
sap_screenshotCapture a PNG screenshot of the current SAP screen on desktop or WebGUI backends for visual debugging, documentation, or explicit user requests. Target a specific session when needed.
Instructions
Take a screenshot of the current SAP screen.
Returns a PNG screenshot as an image. Works on both WebGUI and Desktop backends. ⚠️ Screenshots consume significant context tokens. Prefer sap_get_screen_text or sap_get_form_fields for reading screen content. Use screenshots only for visual debugging or when the user explicitly requests one.
Session parameter:
session=None (default): Uses primary session ("s1")
session="s2": Targets specific session
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 |
|---|---|---|---|
| session | No | ||
| agent_id | No |