textual_wait_for
Wait for a Textual app to reach a specific condition: idle state, animation completion, worker tasks, or widget readiness. Use with selector, text, and timeout.
Instructions
Wait for a condition: idle, animation, workers, or widget.
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": {
"session_id": "<session_id>",
"condition": "<condition>"
},
"name": "textual_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| condition | Yes | ||
| selector | No | ||
| text | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |