search_reddit_posts
Search for Reddit posts in any subreddit using specific queries, filters, and sorting options to find relevant content.
Instructions
Search for posts in a specific subreddit
Args: subreddit: The name of the subreddit to search in (without r/) query: The search query limit: Number of posts to return (default: 10, max: 100) sort: Sort method - "relevance", "hot", "top", "new", "comments" (default: "relevance") time_filter: Time filter - "all", "day", "week", "month", "year" (default: "all")
Returns: Human readable string containing search results
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | ||
query | Yes | ||
sort | No | relevance | |
subreddit | Yes | ||
time_filter | No | all |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
},
"sort": {
"default": "relevance",
"title": "Sort",
"type": "string"
},
"subreddit": {
"title": "Subreddit",
"type": "string"
},
"time_filter": {
"default": "all",
"title": "Time Filter",
"type": "string"
}
},
"required": [
"subreddit",
"query"
],
"type": "object"
}