Replay a recorded SAP test
sap_replayRe-runs a recorded SAP flow on the active session, optionally with variable data, and reports PASS or FAIL per step with the failure screen and repair guidance.
Instructions
Runs a recording (sap_record) again on the active session with no model, under the same write setting and transaction lists as sap_act. Use it to re-run a recorded flow, also on other data with "variables", e.g. {"order":"4711"}. Answers PASS or FAIL per step; a failure gives the screen there and how to go on (from, repair). Stop a recording first.
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_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | resume at this step on the screen as it is, after a failure there, with that run's variables | |
| name | No | the recording (default: the one just stopped) | |
| format | No | json: the result as data | |
| repair | No | with "from": a fix for that one step; a failure answer says its shape | |
| choices | No | a choice screen the recording lacks: stop (default) fails the step; continue presses its neutral Continue | |
| screens | No | loose: landing on another screen than recorded is a note, not a failure | |
| session | No | session from sap_sessions; default: the active one | |
| variables | No |