reddit_get_posts
Retrieve posts from any subreddit with configurable sorting, limits, and time filters.
Instructions
Fetch posts from a subreddit using old.reddit.com .json endpoints
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_get_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | 'hot' (default), 'new', 'rising', 'controversial', 'top' | hot |
| limit | No | 1–100 (default 25) | |
| subreddit | Yes | Subreddit name without r/ prefix (e.g. 'memes') | |
| time_filter | No | For 'top'/'controversial' only — 'hour', 'day', 'week', 'month', 'year', 'all' (default: 'day') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |