find_element
Locate a UI element on a Roku screen by matching its text, tag, or attributes, and retrieve the element's details.
Instructions
Find a UI element on screen using text, tag, and/or attributes. Returns element details if found.
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": "find_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | SceneGraph component type (e.g., "Label", "Button", "Poster") | |
| text | No | Text content to search for | |
| attributes | No | Element attributes to match (e.g., {"id": "loginButton", "focused": "true"}) |