Get Top Posts
get_top_postsFetch Reddit posts ranked by score from a subreddit or home feed within a selected time window, returning paginated results for browsing.
Instructions
Get the top-scoring posts from a subreddit — or from the authenticated home feed if no subreddit is given — within a time window (hour…all). Read-only; works without credentials via RSS (titles and links only, no scores); if RSS fails, it falls back to the Arctic Shift archive's newest posts, which have no ranking. Returns a page of posts plus an after cursor. This is a shortcut for the 'top' sort; use browse_subreddit for hot/new/rising/controversial, or search_reddit to find posts by keyword.
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": "get_top_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Forward pagination cursor: the `after` value from a previous call. Omit for the first page. | |
| limit | No | How many posts to return, 1–100 (default 10). | |
| subreddit | No | Subreddit to read, without the r/ prefix (e.g. 'science'). Omit to use the authenticated home feed (requires credentials). | |
| time_filter | No | Time window the 'top' ranking is computed over (e.g. 'day' = top today). Default 'week'. | week |