Open Connector
所有 Tools

Reddit

Connect to Reddit to read and submit posts and comments.

redditv1.0.030 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2available

调用示例

import { createClient } from "@open-connector/sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "REDDIT_COMMENT_CREATE",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("REDDIT_COMMENT_CREATE", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute REDDIT_COMMENT_CREATE --data '{ }'

Tool 目录

可用 Tools

30 个可调用操作

Create a Reddit commentREDDIT_COMMENT_CREATECreates a comment reply to a post or another comment.

Creates a comment reply to a post or another comment.

认证

需要 Connected Account

Scopes

submit

Tags

comments
List post commentsREDDIT_COMMENTS_LISTReturns a post and its comment tree for a subreddit article.

Returns a post and its comment tree for a subreddit article.

认证

需要 Connected Account

Scopes

read

Tags

comments
Get current Reddit userREDDIT_CURRENT_USER_GETReturns profile information for the authenticated Reddit account.

Returns profile information for the authenticated Reddit account.

认证

需要 Connected Account

Scopes

identity

Tags

account
Get current user karma by subredditREDDIT_CURRENT_USER_KARMA_GETReturns karma breakdowns for the authenticated user by subreddit.

Returns karma breakdowns for the authenticated user by subreddit.

认证

需要 Connected Account

Scopes

identity

Tags

account
Compose Reddit private messageREDDIT_MESSAGE_COMPOSESends a private message to a Reddit user or subreddit moderators.

Sends a private message to a Reddit user or subreddit moderators.

认证

需要 Connected Account

Scopes

privatemessages

Tags

messages
Delete Reddit messageREDDIT_MESSAGE_DELETEDeletes a private message from the authenticated user's mailbox.

Deletes a private message from the authenticated user's mailbox.

认证

需要 Connected Account

Scopes

privatemessages

Tags

messages
Mark Reddit message readREDDIT_MESSAGE_READMarks a private message as read.

Marks a private message as read.

认证

需要 Connected Account

Scopes

privatemessages

Tags

messages
List Reddit messagesREDDIT_MESSAGES_LISTLists private message inbox, unread, sent, or related message views.

Lists private message inbox, unread, sent, or related message views.

认证

需要 Connected Account

Scopes

privatemessages

Tags

messages
Get additional commentsREDDIT_MORE_COMMENTS_GETExpands a comment tree by fetching children referenced by more comments placeholders.

Expands a comment tree by fetching children referenced by more comments placeholders.

认证

需要 Connected Account

Scopes

read

Tags

comments
Submit a Reddit postREDDIT_POST_SUBMITCreates a link, self, image, or video post in a subreddit.

Creates a link, self, image, or video post in a subreddit.

认证

需要 Connected Account

Scopes

submit

Tags

submit
Search RedditREDDIT_SEARCHSearches posts and other Reddit content globally or within a subreddit.

Searches posts and other Reddit content globally or within a subreddit.

认证

需要 Connected Account

Scopes

read

Tags

search
Set send replies preferenceREDDIT_SEND_REPLIES_SETEnables or disables inbox replies for a post or comment.

Enables or disables inbox replies for a post or comment.

认证

需要 Connected Account

Scopes

edit

Tags

thing
Get subreddit informationREDDIT_SUBREDDIT_ABOUT_GETReturns metadata and public information about a subreddit.

Returns metadata and public information about a subreddit.

认证

需要 Connected Account

Scopes

read

Tags

subreddit
List subreddit postsREDDIT_SUBREDDIT_POSTS_LISTLists posts from a subreddit using a supported sort such as hot, new, top, or rising.

Lists posts from a subreddit using a supported sort such as hot, new, top, or rising.

认证

需要 Connected Account

Scopes

read

Tags

subreddit
List subreddit rulesREDDIT_SUBREDDIT_RULES_LISTReturns subreddit rules configured by moderators.

Returns subreddit rules configured by moderators.

认证

需要 Connected Account

Scopes

read

Tags

subreddit
List my subredditsREDDIT_SUBREDDITS_MINE_LISTLists subreddits related to the authenticated user, such as subscribed or moderated subreddits.

Lists subreddits related to the authenticated user, such as subscribed or moderated subreddits.

认证

需要 Connected Account

Scopes

mysubreddits

Tags

subreddit
Search subredditsREDDIT_SUBREDDITS_SEARCHSearches for subreddits matching a query string.

Searches for subreddits matching a query string.

认证

需要 Connected Account

Scopes

read

Tags

search
Delete Reddit thingREDDIT_THING_DELETEDeletes a post or comment owned by the authenticated user.

Deletes a post or comment owned by the authenticated user.

认证

需要 Connected Account

Scopes

edit

Tags

thing
Edit Reddit thing textREDDIT_THING_EDITEdits the text body of a post or comment owned by the authenticated user.

Edits the text body of a post or comment owned by the authenticated user.

认证

需要 Connected Account

Scopes

edit

Tags

thing
Get Reddit things by fullnameREDDIT_THING_GETFetches one or more Reddit things by fullname identifiers, such as t3_ or t1_ IDs.

Fetches one or more Reddit things by fullname identifiers, such as t3_ or t1_ IDs.

认证

需要 Connected Account

Scopes

read

Tags

thing
Hide Reddit thingREDDIT_THING_HIDEHides one or more posts from listings for the authenticated user.

Hides one or more posts from listings for the authenticated user.

认证

需要 Connected Account

Scopes

read

Tags

thing
Report Reddit thingREDDIT_THING_REPORTReports a post or comment to Reddit or subreddit moderators.

Reports a post or comment to Reddit or subreddit moderators.

认证

需要 Connected Account

Scopes

report

Tags

thing
Save Reddit thingREDDIT_THING_SAVESaves a post or comment for the authenticated user.

Saves a post or comment for the authenticated user.

认证

需要 Connected Account

Scopes

save

Tags

thing
Unhide Reddit thingREDDIT_THING_UNHIDEUnhides one or more posts for the authenticated user.

Unhides one or more posts for the authenticated user.

认证

需要 Connected Account

Scopes

read

Tags

thing
Unsave Reddit thingREDDIT_THING_UNSAVERemoves a post or comment from the authenticated user's saved items.

Removes a post or comment from the authenticated user's saved items.

认证

需要 Connected Account

Scopes

save

Tags

thing
Vote on Reddit thingREDDIT_THING_VOTEApplies an upvote, downvote, or vote removal to a post or comment.

Applies an upvote, downvote, or vote removal to a post or comment.

认证

需要 Connected Account

Scopes

vote

Tags

thing
Get Reddit user informationREDDIT_USER_ABOUT_GETReturns public profile metadata for a Reddit user.

Returns public profile metadata for a Reddit user.

认证

需要 Connected Account

Scopes

read

Tags

user
List user commentsREDDIT_USER_COMMENTS_LISTLists comments created by a Reddit user.

Lists comments created by a Reddit user.

认证

需要 Connected Account

Scopes

history

Tags

user
List user saved itemsREDDIT_USER_SAVED_LISTLists saved items for a Reddit user when authorized to access them.

Lists saved items for a Reddit user when authorized to access them.

认证

需要 Connected Account

Scopes

history

Tags

user
List user submitted postsREDDIT_USER_SUBMITTED_LISTLists posts submitted by a Reddit user.

Lists posts submitted by a Reddit user.

认证

需要 Connected Account

Scopes

history

Tags

user

Provider 资源