get_visible_elements
Retrieve visible accessibility elements from the UI tree as a fallback when testID lookup fails.
Instructions
Return flattened visible accessibility elements derived from the current UI tree. Use as fallback discovery after testID-first lookup.
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": "get_visible_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | ||
| maxDepth | No | ||
| maxNodes | No | ||
| limit | No | ||
| clickableOnly | No | ||
| includeTextless | No | ||
| skipVisibilityCheck | No | ||
| testId | No | ||
| testIdMatch | No |