reddit_search
Search Reddit posts and comments using old.reddit.com JSON endpoints. Filter by subreddit, sort order, and time range.
Instructions
Search Reddit using old.reddit.com .json endpoints
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": {
"query": "<query>"
},
"name": "reddit_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | 'relevance' (default), 'top', 'new', 'comments', 'hot' | relevance |
| limit | No | 1–100 (default 25) | |
| query | Yes | Search terms | |
| subreddit | No | Optional subreddit to scope search to | |
| time_filter | No | 'hour', 'day', 'week', 'month', 'year', 'all' (default) | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |