reddit_get_subreddit_posts
Fetch posts from a subreddit listing by name, with optional category, time filter, and result limit. Use it to browse hot, top, new, or rising Reddit content for a chosen community.
Instructions
Get posts from a subreddit listing.
Args: subreddit: Subreddit name without r/ prefix (e.g., 'Python', 'news') limit: Maximum number of posts (default: 25, max: 100) category: Listing category (hot, top, new, rising). Default: hot time_filter: Time window for top listings (hour, day, week, month, year, all). Default: all
Returns: An object with a 'posts' array.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subreddit": "<subreddit>"
},
"name": "reddit_get_subreddit_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| category | No | ||
| subreddit | Yes | ||
| time_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes |