tap
Simulates a touch at normalized screen coordinates, captures a screenshot, and logs a tracked audit step so agents can evaluate UI outcomes.
Instructions
Tap at a position on screen (ratio 0-1). Automatically captures a screenshot and registers a tracked step. After this call, evaluate the screenshot across all required dimensions before moving to the next action.
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": {
"x": "<x>",
"y": "<y>",
"caseName": "<caseName>",
"stepIndex": "<stepIndex>",
"description": "<description>",
"expectedOutcome": "<expectedOutcome>"
},
"name": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Horizontal position ratio (0 = left, 1 = right) | |
| y | Yes | Vertical position ratio (0 = top, 1 = bottom) | |
| caseName | Yes | Name of the test case | |
| stepIndex | Yes | Current step index (e.g. 1, 2) | |
| description | Yes | Description of the action being performed | |
| expectedOutcome | Yes | What should happen after this tap (e.g. 'Should navigate to login screen') |