reddit_subreddit
Retrieve recent posts from a subreddit with engagement metrics, sorting, timeframe, and pagination, so you can analyze community activity and trends.
Instructions
reddit: Subreddit Posts. GET /v1/reddit/subreddit. Provide one of: subreddit, url. Get recent posts from a subreddit with engagement metrics Costs 1 credit when it succeeds. Errors, blocked or timed-out requests, invalid requests and cache hits cost nothing. A not-found or empty result is charged only where that operation's published cost says so.
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 | Sort order | |
| trim | No | Set true for a trimmed response. | |
| after | No | After to get more posts. Get 'after' from previous response. | |
| subreddit | Yes | Subreddit name | |
| timeframe | No | Timeframe to get posts from | |
| cache_max_age | No | Use a cached response this old or newer for 0 credits. If none is available, fetch live at the endpoint’s normal price. |