get_top_subreddit_posts
Retrieve top posts and comments from specified subreddits by time period to support Reddit Q&A research and Notion workflows.
Instructions
Get top posts from specified subreddits.
Args:
subreddits (str): Subreddit name(s) separated by '+' (e.g., "redditdev+learnpython")
limit (int): Number of posts to retrieve (default: 10)
comment_limit (int): Number of comments to retrieve for each post (default: 5)
time_filter (str): One of: "all", "day", "hour", "month", "week", "year" (default: "week")
Returns:
List[Dict[str, Any]]: List of dictionaries containing post information
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": {
"subreddits": "<subreddits>"
},
"name": "get_top_subreddit_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| subreddits | Yes | ||
| time_filter | No | week | |
| comment_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |