List posts in a subreddit
reddit_subreddit_postsPosts in a subreddit, by hot, new, top, rising or controversial.
Returns one page (25 by default, up to 100 with limit). sort is hot (default), new, top, rising or controversial; t sets the window for top and controversial. For the next page pass after = next_page.after from the previous result. To find posts by topic across communities use reddit_search_posts instead. "all" and "popular" work as subreddit names. Posts marked NSFW are not included (Reddit does not show them to logged-out readers), and a community that does not exist answers target_not_found.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": {
"name": "<name>"
},
"name": "reddit_subreddit_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | No | Time window for top and controversial. Default day. | |
| name | Yes | Subreddit name, with or without "r/". "all" and "popular" also work for posts. | |
| sort | No | Listing order. Default hot. | hot |
| after | No | Cursor: the previous page's `data.after`. Omit for the first page. | |
| limit | No | Items per page, 1 to 100. Default 25. |