Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
REDDIT_CLIENT_ID | No | Reddit app client ID | |
REDDIT_BUDDY_HTTP | No | Run as HTTP server | false |
REDDIT_USER_AGENT | No | User agent string | RedditBuddy/1.0 |
REDDIT_CLIENT_SECRET | No | Reddit app client secret | |
REDDIT_BUDDY_NO_CACHE | No | Disable caching (always fetch fresh) | false |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
browse_subreddit | Fetch posts from a subreddit sorted by your choice (hot/new/top/rising). Returns post list with content, scores, and metadata. |
search_reddit | Search for posts across Reddit or specific subreddits. Returns matching posts with content and metadata. |
get_post_details | Fetch a Reddit post with its comments. Requires EITHER url OR post_id. IMPORTANT: When using post_id alone, an extra API call is made to fetch the subreddit first (2 calls total). For better efficiency, always provide the subreddit parameter when known (1 call total). |
user_analysis | Analyze a Reddit user's posting history, karma, and activity patterns. Returns posts, comments, and statistics. |
reddit_explain | Get explanations of Reddit terms, slang, and culture. Returns definition, origin, usage, and examples. |