browse_subreddit
Fetch and sort Reddit posts from any subreddit by popularity, recency, or trending status, with content, scores, and metadata included.
Instructions
Fetch posts from a subreddit sorted by your choice (hot/new/top/rising). Returns post list with content, scores, and metadata.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_nsfw | No | Include adult content posts (default: false) | |
include_subreddit_info | No | Include subreddit metadata like subscriber count and description (default: false) | |
limit | No | Number of posts to return (1-100, default: 25) | |
sort | No | How to sort posts: "hot" (trending), "new" (recent), "top" (highest score), "rising" (gaining traction). Default: hot | |
subreddit | Yes | Subreddit name without r/ prefix. Use specific subreddit (e.g., "technology"), "all" for Reddit-wide posts, or "popular" for trending across default subreddits | |
time | No | Time range for "top" sort only: "hour", "day", "week", "month", "year", "all" |
Input Schema (JSON Schema)
{
"properties": {
"include_nsfw": {
"description": "Include adult content posts (default: false)",
"type": "boolean"
},
"include_subreddit_info": {
"description": "Include subreddit metadata like subscriber count and description (default: false)",
"type": "boolean"
},
"limit": {
"description": "Number of posts to return (1-100, default: 25)",
"type": "number"
},
"sort": {
"description": "How to sort posts: \"hot\" (trending), \"new\" (recent), \"top\" (highest score), \"rising\" (gaining traction). Default: hot",
"enum": [
"hot",
"new",
"top",
"rising",
"controversial"
],
"type": "string"
},
"subreddit": {
"description": "Subreddit name without r/ prefix. Use specific subreddit (e.g., \"technology\"), \"all\" for Reddit-wide posts, or \"popular\" for trending across default subreddits",
"type": "string"
},
"time": {
"description": "Time range for \"top\" sort only: \"hour\", \"day\", \"week\", \"month\", \"year\", \"all\"",
"enum": [
"hour",
"day",
"week",
"month",
"year",
"all"
],
"type": "string"
}
},
"required": [
"subreddit"
],
"type": "object"
}