Wait for NVDA to say something
nvda_wait_for_speechWaits for NVDA to speak a matching utterance, such as a chat reply, download completion, or dialog opening, then returns all speech captured meanwhile so you can react to screen-reader output.
Instructions
Wait until NVDA says something, such as a chat reply, a download finishing or a dialog opening.
Returns as soon as a matching utterance arrives, with everything said meanwhile. Pass after_id (lastId from an earlier result) to also catch speech that arrived before this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_id | No | Also consider speech newer than this id, so nothing said before the call is missed. Defaults to now. | |
| contains | No | Wait for an utterance containing this text, ignoring case. Leave out to wait for any speech. | |
| timeout_ms | No | Give up after this long. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |