Clear an overlay
qa_clear_overlayClear mobile screen obstructions such as keyboards, LogBox, permission dialogs, and toasts, then report what was cleared and what remains; optionally verify whether a target element is still blocked.
Instructions
Clear what blocks the screen (keyboard, LogBox, permission dialog, toast); strategy "auto" handles the topmost. targetRef checks whether that element is still obstructed. Returns what was cleared and what remains.
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_clear_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | No | default "auto" | |
| sessionId | Yes | ||
| targetRef | No | @eN to check obstruction before/after |