wait_for_reply
Block until a person replies on a thread, decides its review, or GitHub reports on it. Use after asking a question or requesting a review instead of polling get_thread.
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": {
"thread_id": "<thread_id>",
"after_seq": "<after_seq>"
},
"name": "wait_for_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_seq | Yes | Last event number you saw (last_seq) | |
| thread_id | Yes | Thread you are waiting on | |
| timeout_ms | No | Max wait in milliseconds (default 60000, max 120000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Thread state now | |
| events | Yes | Events after after_seq, including the person's reply | |
| last_seq | Yes | Pass this as after_seq next time | |
| timed_out | Yes | True when nobody replied within timeout_ms | |
| waited_ms | Yes | Milliseconds elapsed before returning |