search_reddit
Search for posts on Reddit using keywords, filter by subreddit, sort by relevance or time, and specify content type to find specific discussions.
Instructions
Search for posts on Reddit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Maximum number of results to return | |
query | Yes | The search query | |
sort | No | Sort order: relevance, hot, top, new, comments | relevance |
subreddit | No | Search within a specific subreddit (optional) | |
time_filter | No | Time filter: hour, day, week, month, year, all | all |
type | No | Type of content: link (posts), sr (subreddits), user (users) | link |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 10,
"description": "Maximum number of results to return",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"query": {
"description": "The search query",
"type": "string"
},
"sort": {
"default": "relevance",
"description": "Sort order: relevance, hot, top, new, comments",
"enum": [
"relevance",
"hot",
"top",
"new",
"comments"
],
"type": "string"
},
"subreddit": {
"description": "Search within a specific subreddit (optional)",
"type": "string"
},
"time_filter": {
"default": "all",
"description": "Time filter: hour, day, week, month, year, all",
"enum": [
"hour",
"day",
"week",
"month",
"year",
"all"
],
"type": "string"
},
"type": {
"default": "link",
"description": "Type of content: link (posts), sr (subreddits), user (users)",
"enum": [
"link",
"sr",
"user"
],
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}