reddit_list_posts
List posts from a subreddit feed by hot, new, top, rising, or best, with cursor pagination and compact summaries. Use it to browse a community, then fetch full thread bodies separately.
Instructions
List posts from a subreddit feed (hot/new/top/rising/best).
Uses the webapp's own infinite-scroll partial endpoint (fast: no full page load). Pagination cursors come back from Reddit itself. Feed partials do not include post bodies: body_preview is null here; call reddit_get_thread for the full body.
Args: subreddit: Bare subreddit name, e.g. "ClaudeCode". sort: One of hot, new, top, rising, best. time_filter: hour, day, week, month, year, all (used by top/rising). limit: Max posts to return (1-25). after: Opaque pagination cursor from a previous call's "after" field. Pass it through exactly as received.
Returns: Compact post summaries plus the next "after" cursor, or null when done. Note: the cursor is a URL path; repeated calls with the same arguments are served from a short-lived cache.
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_list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | hot | |
| after | No | ||
| limit | No | ||
| subreddit | Yes | ||
| time_filter | No | week |