get_text
Fetch the text rendered by a Flutter widget in a live app using a target selector, enabling UI verification and assertions without pre-written tests.
Instructions
Returns the text content of a widget identified by the target string.
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 |
|---|---|---|---|
| target | No | Target string (e.g. '#loginBtn', 'text="Submit"', 'type="ElevatedButton"', 'semanticsLabel="Username"') | |
| timeout_ms | No | Implicit wait timeout in milliseconds before failing |