focused_element
Retrieve details of the currently focused UI element in Electron apps, including tag, ID, classes, text, and position, to enable precise interaction automation.
Instructions
Return information about the currently focused element: tag, id, classes, text snippet, and bounding box. Returns { focused: false } if nothing meaningful has focus (document.body).
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": "focused_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||