Search comments
reddit_search_commentsSearch comments across Reddit or in one subreddit: the comments themselves, with their post.
Full-text search over comments across Reddit, or in one community with subreddit. Returns the matching comments themselves (body, author, score, permalink) with their post's title, score and comment count. sort is relevance (default), new or top. Reddit operators work in q: author:name, subreddit:name, "exact phrase".
Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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 query. | |
| t | No | Time window for top and controversial. Default day. | |
| sort | No | relevance (default), new or top. | |
| after | No | Cursor: the previous page's `data.after`. Omit for the first page. | |
| limit | No | Items per page, 1 to 100. Default 25. | |
| subreddit | No | Only this subreddit. |