reddit_search_comments
Search Reddit comments by keyword and return each comment with its post ID, title, subreddit, and score. Filter by subreddit, sort order, time window, and pagination to find relevant discussions.
Instructions
Search Reddit comments. Searches comments across public Reddit and returns them with the post id, post title and subreddit each comment belongs to. Comment scores are included. This route reads Reddit's authenticated app surface, so it requires the app source to be enabled; a disabled source returns a retryable 503. Invalid sort/time values or limits return 400; empty result sets return 404; upstream blocks and rate limits return 503 with a Retry-After header.
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": {
"q": "<q>"
},
"name": "reddit_search_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search keywords | |
| sort | No | Sort: relevance, hot, new, top, or comments | |
| time | No | Time window for top/comments sorts: hour, day, week, month, year, or all | |
| after | No | Opaque app pagination cursor from a previous response | |
| limit | No | Maximum comments, defaults to 25 and clamps to 100 | |
| subreddit | No | Restrict search to a subreddit name, without r/ |