get_subreddit_posts
Fetch front-page posts from any subreddit to surface active discussions. Specify subreddit, category (hot, new, top, rising), and number of posts.
Instructions
Fetch the front-page posts of a subreddit to surface active discussions.
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_subreddit_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subreddit | Yes | The subreddit name (e.g. "python", "MachineLearning") | |
| category | No | Feed type — "hot", "new", "top", or "rising" | hot |
| limit | No | Number of posts to return (max 100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |