appium_get_active_element
Retrieve the currently focused or active element in your mobile app session and obtain its UUID for subsequent interactions, enabling targeted automation without prior element lookup.
Instructions
Get the currently active/focused element and return its UUID for follow-up interactions. [PRIORITY 1: Use this first when you need to find what element currently has focus]
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": "appium_get_active_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session ID; defaults to the active session. |