wait_for_new_prompt
Blocks until a new prompt arrives from Telegram, with configurable timeout, enabling loops that monitor for incoming tasks.
Instructions
Wait efficiently for a new prompt to arrive from Telegram. Blocks until a prompt is found or timeout is reached. Use this in a loop to monitor for incoming tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | Maximum seconds to wait (default: 60) |