search_reddit
Search Reddit posts across all of Reddit or up to 10 specific subreddits, filtering by sort, time, flair, and author to find matching discussions with their content and metadata.
Instructions
Search for posts across Reddit or specific subreddits. Returns matching posts with content and metadata. NSFW posts are left out unless include_nsfw is true, and a search inside an NSFW subreddit returns nothing without it.
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 | |
| time | No | all | |
| flair | No | ||
| limit | No | Default 25, range (1-100). Override ONLY IF user requests. | |
| query | Yes | Search query | |
| author | No | ||
| subreddits | No | Subreddits to search in, max 10 (leave empty for all) | |
| include_nsfw | No | Leave unset to follow the server setting (NSFW hidden unless the server owner chose otherwise). Set true ONLY IF the user asks for NSFW content; set false to hide it. No effect on a server set to never return NSFW. |