Get Post Comments
get_post_commentsRetrieve a Reddit post's comment tree with configurable sort, depth, and limit; returns nested replies and 'more' stubs for read-only thread browsing.
Instructions
The comment tree of a post. Returns {"post": {...}, "data": [comments with nested "replies"], "more": [stubs], "after": null}. Collapsed branches are listed in "more" (parent_id, count, children ids) and counted on the parent comment as "more_replies". These "more" stubs CANNOT be expanded by this server: Reddit answers /api/morechildren with HTTP 403 for anonymous tokens, so do not expect a follow-up call to retrieve them. To see more of a thread, call get_post_comments again with a larger limit/depth or a different sort. Read-only, anonymous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Comment ordering: confidence/best (default), top, new, controversial, old, qa. | confidence |
| depth | No | Maximum reply nesting depth to return, 1-10 (default 5). Deeper replies become 'more' stubs. | |
| limit | No | Maximum number of comments Reddit should return, 1-500 (default 100). | |
| post_id | Yes | Post id: base36 id ('1abc23'), fullname ('t3_1abc23'), or a full reddit.com permalink URL. | |
| subreddit | No | Optional. Subreddit name without the r/ prefix (e.g. 'LocalLLaMA'). 'r/LocalLLaMA' is also accepted. |