Inspect screen
inspect_screenLists screen elements with locators verified to match exactly one element, ordered by stability, using a saved page source or live device for Python or Java tests.
Instructions
List a screen's elements with locators verified to match exactly one element, most stable first (accessibility id, resource id, text, XPath). screen: a saved page source XML in the project; omit to read the live device. lang: python (default) or java, for how locators are written.
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": "inspect_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| screen | No | ||
| max_elements | No | ||
| interactive_only | No |