pt_list_elements
List all visible UI elements on the current screen with types, labels, values, and coordinates to locate elements for tapping or typing in iOS simulator automation.
Instructions
List all visible UI elements on the current screen with their types, labels, values, and coordinates. Use this to find elements to tap or type into. Each element shows its position (x,y) and size.
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": "pt_list_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Simulator UDID (uses active device if not specified) |