Read an element's text
read_ui_element_textRead all text contained in a UI element, including nested and off-screen content like long text areas, messages, or dialogs, by passing the element ID from a UI lookup tool.
Instructions
Read all the text an element holds, its own and what's in it, what's scrolled out of view included: a long text area, a message, a dialog.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "read_ui_element_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The element's id, from get_ui_elements, find_ui_elements or another tool of these that returned it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |