get_search
Search Reddit posts by query with optional filters for subreddit, timeframe, sorting, and pagination. Retrieve results for analysis or display.
Instructions
Search posts across Reddit
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": "get_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query | |
| t | No | Timeframe | |
| nsfw | No | true to include NSFW results | |
| sort | No | Sort order | |
| after | No | Pagination cursor from a previous response | |
| limit | No | Items to return, 1-100 | |
| subreddit | No | Restrict to a subreddit |