get_posts
Fetch posts from a specified subreddit with configurable sorting, time range, pagination, and result limits.
Instructions
Fetch posts from a subreddit
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": "get_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | No | Timeframe for sort=top/controversial | |
| sort | No | Sort tab | new |
| after | No | Pagination cursor from a previous response | |
| limit | No | Items to return, 1-100 | |
| subreddit | Yes | Subreddit name (no r/ prefix) |