scan_subreddit
Fetch subreddit posts by hot, top, new, or rising order with pagination, time filters, and optional comments to support monitoring and research.
Instructions
Fetch posts from a subreddit by sort order (hot, top, new, rising). Supports pagination, time filters, and optional comment inclusion.
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": "scan_subreddit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order (default: hot) | |
| after | No | Pagination cursor from a previous response | |
| limit | No | Number of posts to return (1-100, default 25) | |
| subreddit | Yes | Subreddit name (without r/ prefix), e.g. 'programming' | |
| time_filter | No | Time filter for 'top' sort (default: all) | |
| comment_limit | No | Max comments per post when include_comments is true (default: 10) | |
| include_comments | No | Include top comments for each post (default: false) |