observe
Retrieve the view hierarchy displayed on screen for mobile automation testing. Supports Android and iOS platforms to analyze UI structure.
Instructions
Get the view hierarchy of what is displayed on screen
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": {
"platform": "<platform>"
},
"name": "observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform |