search_comments
Search comment bodies in a specified subreddit by keyword, with synonym expansion to find related discussions; each hit includes its parent post ID for context.
Instructions
Search comment bodies in one subreddit (required). Adds synonyms. Each hit shows the parent post id.
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": {
"subreddit": "<subreddit>",
"query": "<query>"
},
"name": "search_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | desc | |
| after | No | ||
| limit | No | ||
| query | Yes | ||
| before | No | ||
| subreddit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |