get_subreddit_top_posts
Retrieve the most upvoted posts from a specific subreddit with customizable filters for time range and number of posts. Use this tool to streamline Reddit content discovery and analysis.
Instructions
Get top posts from a specific subreddit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Number of posts to return (default: 10) | |
subreddit_name | Yes | Name of the subreddit (e.g. 'Python', 'news') | |
time | No | Time filter for top posts (e.g. 'hour', 'day', 'week', 'month', 'year', 'all') |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 10,
"description": "Number of posts to return (default: 10)",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"subreddit_name": {
"description": "Name of the subreddit (e.g. 'Python', 'news')",
"type": "string"
},
"time": {
"default": "",
"description": "Time filter for top posts (e.g. 'hour', 'day', 'week', 'month', 'year', 'all')",
"enum": [
"",
"hour",
"day",
"week",
"month",
"year",
"all"
],
"type": "string"
}
},
"required": [
"subreddit_name"
],
"type": "object"
}