wait_for_message
Blocks until a new QQ message arrives, optionally filtered by chat, sender, or text, up to a timeout. Use it to wait for a reply before continuing.
Instructions
Block until a new message arrives (optionally only from a chat / sender / containing text), up to timeout_seconds. Good for "reply when they answer" flows.
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_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Only this chat | |
| contains | No | Only messages containing this text | |
| from_user | No | Only from this QQ number | |
| include_self | No | Also match my own messages | |
| timeout_seconds | No | Max wait (≤ 600) |