reddit_list_posts
Fetch Reddit posts from a subreddit or front page with sorting, time filters, and pagination; returns id, title, author, score, comments, and permalink.
Instructions
List posts from a subreddit, or from the site-wide front page when subreddit is omitted. Returns each post's id, title, author, score, comment count and permalink — the body text or link, but never the comments. Use reddit_get_post for one thread's discussion; fetching 25 posts' comment trees is orders of magnitude more text than this.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reddit_list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Listing sort. `top` and `controversial` also read `time`. | hot |
| time | No | Time window, used only by the `top` and `controversial` sorts. Ignored otherwise. | day |
| after | No | Pagination cursor: pass the `after` value from the previous response to get the next page. Reddit paginates by fullname, not by offset, so there is no page number. | |
| limit | No | How many items to return (1-100). Defaults to 25; Reddit's hard cap is 100. | |
| subreddit | No | Subreddit name without the `r/` prefix, e.g. "rust". |