reddit_search
Search Reddit posts via the official API, optionally within a specific subreddit or across r/all, and cap results with a maximum post count.
Instructions
Search Reddit posts (optionally within one subreddit) via the official API.
Args: query: search query. subreddit: optional subreddit name (without r/); searches r/all if omitted. max_count: max posts (default from config, hard-capped).
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": "reddit_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_count | No | ||
| subreddit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||