Capture a screenshot
qa_screenshotCaptures a QA screenshot for a mobile test session, saves it as a session artifact, and returns a swipium:// URI for reports; password/OTP screens are withheld unless forced.
Instructions
Save a screenshot as a session artifact and return its swipium:// URI. Withheld on password/OTP screens unless force:true. Counts against the screenshot budget. inline:true also returns the image (JPEG, long edge 1568 px, scale in the text) for clients that can see images.
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": {
"sessionId": "<sessionId>"
},
"name": "qa_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| inline | No | Also return the image inline (the result then has no structuredContent). | |
| reason | No | What it documents (shown in qa_report). | |
| sessionId | Yes |