FruxonDocs

Reddit

Read posts and comments, search subreddits, and (optionally) submit content and vote

The Reddit integration lets your agents browse subreddits, read posts and their comment trees, search across Reddit, look up users, and — when granted — submit posts, leave comments, and vote.

Prerequisites

  • A Reddit account. The OAuth flow signs you in at setup; you don't need an app secret.

Setup

  1. Open your agent in Agent Studio.

  2. In the Integrations panel, click Add Integration Config.

  3. Select Reddit from the integration list.

  4. Give the config a display name (e.g., "Reddit — Community research").

  5. Click Connect and complete the Reddit OAuth sign-in.

  6. In the OAuth scope picker, choose which scopes to grant:

    ScopeWhat it allowsRecommended
    identityRead user identityYes
    readRead posts and commentsYes
    submitSubmit posts and commentsIf the agent posts
    voteVote on contentIf the agent votes
    historyRead voting and posting historyOnly when needed
    mysubredditsRead subscribed subredditsOnly when needed
  7. Save the agent revision.

A tool will only execute if the OAuth scope it requires was granted. To enable write tools later, reauthorize and add submit / vote.

Using in Your Agent

  1. In an Agent Step, attach Reddit tools from the tools panel.
  2. Tools are referenced as reddit.get_subreddit_posts, reddit.submit_comment, etc.

Available Tools

Read

ToolDescriptionAction Type
get_subreddit_postsRetrieve posts from a subreddit, sorted by hot, new, top, rising, or controversialReadOnly
get_post_commentsRetrieve comments for a specific postReadOnly
searchSearch posts within a subreddit or across all of RedditReadOnly
get_user_infoGet public information about a Reddit userReadOnly

Write

ToolDescriptionAction Type
submit_postSubmit a new text or link post to a subredditIrreversible
submit_commentComment on a post or reply to another commentIrreversible
voteUpvote, downvote, or remove a vote from a post or commentReversible

On this page