search_reddit
Find Reddit posts by query, optionally within a specific subreddit, and sort results by relevance, hot, top, new, or comments.
Instructions
Search Reddit for posts.
Args:
query: Search query string
subreddit: Limit search to specific subreddit (default: search all of Reddit)
sort: Sort order - 'relevance', 'hot', 'top', 'new', 'comments' (default: relevance)
limit: Number of posts to return, max 100 (default: 25)
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": "search_reddit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | relevance | |
| limit | No | ||
| query | Yes | ||
| subreddit | No |