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.
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": "wait_for_new_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | Maximum seconds to wait (default: 60) |