reddit: Subreddit posts
reddit_subredditSubreddit posts. Posts from a subreddit, sorted the way Reddit sorts them, with scores and comment counts. sort=top and sort=controversial accept a timeframe. raw.posts adds each post's subreddit, flair, post type and upvote ratio. raw.via names the surface that answered; when Reddit serves only its Atom feed (atom), scores and comment counts are null. Costs 1 credit.
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_subreddit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | hot | |
| limit | No | Posts per page, 1-100. Default 25. | |
| cursor | No | `pagination.cursor` from a previous response | |
| subreddit | Yes | Subreddit name ("aww", "r/aww") or a full reddit.com/r/... URL | |
| timeframe | No | Window for sort=top / sort=controversial. Default "day". | |
| cache_max_age | No |