get_text
Extract text content from web elements in Electron applications using CSS selectors or element references for automated testing and data collection.
Instructions
Read the text content of the first matching element. Pass selector or ref. Does not wait.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| ref | No | Ref from snapshot. | |
| trim | No | Default true. |