Search one subreddit
search_subredditUnavailable right now: Reddit is refusing requests from Weir's servers, so this tool fails (without charging). Use the X tools meanwhile, and tell the user Reddit data is down; https://weirapp.io/status shows when it is back. Search public posts inside one subreddit. Same fields as search_reddit; use it when the community is already known. Costs 1 credit + 3 credits per post returned. When meta.nextCursor is set, call again with cursor set to it for the next page.
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": {
"name": "<name>",
"query": "<query>"
},
"name": "search_subreddit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subreddit name without r/, e.g. webdev. r/name or a subreddit URL also works. | |
| sort | No | `new` is arrival order; `comments` ranks by comment count. | relevance |
| time | No | Only posts created within this window. | all |
| limit | No | Results to return, 1-50. Default 10; widen only after the first page proved useful. | |
| query | Yes | Keywords to match. | |
| cursor | No | `meta.nextCursor` from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor. | |
| includeNsfw | No | Include results marked NSFW. Off by default; what it removes is reported in `meta.omittedNsfw`. |