get_subreddit_posts
Retrieve posts from any Reddit subreddit using specified sorting options and quantity limits to access community discussions and content.
Instructions
Get posts from a specific subreddit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Number of posts to retrieve (1-100) | |
sort | No | Sort order for posts | hot |
subreddit | Yes | Name of the subreddit (without r/ prefix) |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 25,
"description": "Number of posts to retrieve (1-100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"sort": {
"default": "hot",
"description": "Sort order for posts",
"enum": [
"hot",
"new",
"top",
"rising"
],
"type": "string"
},
"subreddit": {
"description": "Name of the subreddit (without r/ prefix)",
"type": "string"
}
},
"required": [
"subreddit"
],
"type": "object"
}