get_recent_posts_from_reddit
Fetch recent posts from specified Reddit subreddits, sorted by recency. Ideal for gathering latest updates from specific communities without free-text search, with optional comments inclusion.
Instructions
Retrieve the latest posts from specific Reddit subreddits ordered by recency.
When to use:
Use for requests like "latest on r/sub1, r/sub2".
Does not accept a free-text query. For query-based search on Reddit, use
reddit_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Total number of Reddit posts to return | |
| subreddits | Yes | List of subreddit names to load posts from (with or without leading r/) | |
| with_comments | No | Best-effort: include comments if available in backend (may be ignored) |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 50,
"description": "Total number of Reddit posts to return",
"maximum": 100,
"minimum": 1,
"title": "Limit",
"type": "integer"
},
"subreddits": {
"description": "List of subreddit names to load posts from (with or without leading r/)",
"items": {
"type": "string"
},
"title": "Subreddits",
"type": "array"
},
"with_comments": {
"default": false,
"description": "Best-effort: include comments if available in backend (may be ignored)",
"title": "With Comments",
"type": "boolean"
}
},
"required": [
"subreddits"
],
"type": "object"
}