Wait for review comments
wait_for_commentsBlock until a new review comment arrives on a pull request branch or the timeout elapses, returning a timeout status instead of failing when nothing comes in.
Instructions
Block until a new comment arrives or the wait elapses. Returns status "timeout" rather than failing when nothing arrives.
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": {
"branch": "<branch>"
},
"name": "wait_for_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Head branch of the pull request the comments are on, such as `feat/login`. Not a pull request number. | |
| cursor | No | Timestamp from a previous call. Only comments newer than this are returned; omit it to drain everything already there. | |
| timeoutMs | No | How long to wait. Clamped to 55 seconds, under every client's ceiling. |