secretary_wait
Waits for new messages in a specified Telegram chat and returns them when one arrives (collecting a short burst) or when the timeout ends, so you can get the reply after sending a response.
Instructions
Wait for new incoming messages from one chat and return them. Resolves as soon as a message arrives (a short burst is collected together), or when the time is out. Use after secretary_reply to get the answer.
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": {
"chat": "<chat>"
},
"name": "secretary_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat: numeric id, @username, or part of the person's name | |
| timeout_seconds | No | How long to wait, at most 180 (default 60) |