get_subreddit_hot_posts
Retrieve trending posts from a specified subreddit using the Reddit API. Specify the subreddit name and limit to fetch top posts for quick insights or updates.
Instructions
Get hot posts from a specific subreddit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Number of posts to return (default: 10) | |
subreddit_name | Yes | Name of the subreddit (e.g. 'Python', 'news') |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 10,
"description": "Number of posts to return (default: 10)",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"subreddit_name": {
"description": "Name of the subreddit (e.g. 'Python', 'news')",
"type": "string"
}
},
"required": [
"subreddit_name"
],
"type": "object"
}