touch
Simulate precise touch events at specific coordinates in Xcode simulators. Use 'describe_ui' to identify exact positions, ensuring accurate interactions for testing.
Instructions
Perform touch down/up events at specific coordinates. Use describe_ui for precise coordinates (don't guess from screenshots).
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": {
"simulatorUuid": "<simulatorUuid>",
"x": "<x>",
"y": "<y>"
},
"name": "touch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | ||
| down | No | ||
| simulatorUuid | Yes | ||
| up | No | ||
| x | Yes | ||
| y | Yes |