get_post_comments
Fetch comments from a specific Reddit post by providing the post ID and subreddit name, with options to sort by best, top, new, controversial, old, or qa, and limit the number of comments retrieved.
Instructions
Get comments for a specific Reddit post
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Maximum number of comments to load | |
post_id | Yes | The ID of the post | |
sort | No | Comment sort order: best, top, new, controversial, old, qa | best |
subreddit | Yes | The subreddit where the post is located |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 100,
"description": "Maximum number of comments to load",
"maximum": 500,
"minimum": 1,
"type": "number"
},
"post_id": {
"description": "The ID of the post",
"type": "string"
},
"sort": {
"default": "best",
"description": "Comment sort order: best, top, new, controversial, old, qa",
"enum": [
"best",
"top",
"new",
"controversial",
"old",
"qa"
],
"type": "string"
},
"subreddit": {
"description": "The subreddit where the post is located",
"type": "string"
}
},
"required": [
"post_id",
"subreddit"
],
"type": "object"
}