Wait for post comments
wait_for_commentsWait for new comments or annotations on a post and return them as soon as they exist, oldest first, in the list_post_comments shape. Use it in an agent loop instead of polling list_post_comments: handle the comments, then call it again with the returned since. With no since it waits for comments created after the call starts. On timeout it returns an empty list and the since to reuse. Holds the request open for timeoutSeconds (default 25, max 50). Filter with attachmentId or annotated like list_post_comments.
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": {
"postId": "<postId>"
},
"name": "wait_for_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Where to start: the since value the last call returned, or an ISO 8601 time. Leave it out to wait for comments created from now on. | |
| postId | Yes | The post to watch. The post's ID, from the id field of list_posts, get_post or search. Post numbers and identifiers are not accepted here. | |
| annotated | No | true lists annotations only, and false lists plain comments and replies only. Both are listed when omitted. | |
| attachmentId | No | Only comments on this media item: an attachment ID from get_post with include attachments. | |
| timeoutSeconds | No | How long to hold the request open before returning an empty list. 25 seconds when omitted. | |
| response_format | No | How much to return. concise applies when omitted; detailed adds every field and the full text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | A tip on reading cut text in full or on a faster way to do this. Sent only when one applies. | |
| since | Yes | Pass it as since on the next call. Epoch ms, sent as a string. | |
| comments | Yes | New comments, oldest first. Empty on timeout. |