wait_for_reply
Block until a new message arrives from a specified group or friend. Use as a follow-up to send_message or to wait for a reply independently.
Instructions
Block until a new message arrives from a specific group or friend.
Use this as a standalone follow-up after send_message (with
wait_reply=False) or when you need to wait for a reply without sending
first. Returns only messages from others (not the bot's own). Times out
after timeout seconds (max 300).
If you want to send a message AND wait for a reply in one call, use send_message with wait_reply=True instead — it's simpler.
Read-only. No side effects on the chat.
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": {
"target": "<target>"
},
"name": "wait_for_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| target_type | No | group | |
| timeout | No |