assert_screen_text
Verify that specified text appears on screen within a timeout, failing the check if it does not, to validate Godot UI or game state during automated tests.
Instructions
Assert that a given text string appears on the screen within a timeout.
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": {
"text": "<text>"
},
"name": "assert_screen_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to look for on screen | |
| timeout | No | Seconds to wait before failing (default: 5.0) |