Create Post
Creates a new post in a specified subreddit.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_POST_ACTION])
Delete Post
Deletes a specified post.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_POST_ACTION])
Edit Post
Edits the content of an existing post.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EDIT_POST_ACTION])
Upvote
Upvotes a specified post or comment.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPVOTE_ACTION])
Downvote
Downvotes a specified post or comment.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOWNVOTE_ACTION])
Send Message
Sends a private message to a specified user.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_MESSAGE_ACTION])
Subscribe To Subreddit
Subscribes the user to a specified subreddit.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIBE_SUBREDDIT_ACTION])
Unsubscribe From Subreddit
Unsubscribes the user from a specified subreddit.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNSUBSCRIBE_SUBREDDIT_ACTION])
Change Post Flair
Changes the flair of a specified post.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANGE_POST_FLAIR_ACTION])
Pin Post
Pins a post to the top of a subreddit (for moderators).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PIN_POST_ACTION])
Unpin Post
Unpins a post from the top of a subreddit (for moderators).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNPIN_POST_ACTION])
Lock Post
Locks a post, preventing new comments (for moderators).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LOCK_POST_ACTION])
Unlock Post
Unlocks a previously locked post (for moderators).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNLOCK_POST_ACTION])
Award Post
Gives an award to a specified post.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AWARD_POST_ACTION])
Create Subreddit
Creates a new subreddit (if user meets requirements).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SUBREDDIT_ACTION])
Crosspost
Crossposts a post from one subreddit to another.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CROSSPOST_ACTION])
Save Post
Saves a post to the user's saved list.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SAVE_POST_ACTION])
New Post
Triggered when a new post is created in a specified subreddit.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_POST_TRIGGER])
Post Upvoted
Triggered when a post receives an upvote.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POST_UPVOTED_TRIGGER])
Post Downvoted
Triggered when a post receives a downvote.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POST_DOWNVOTED_TRIGGER])
New Message
Triggered when a new private message is received.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_TRIGGER])
Cake Day
Triggered on a user's Reddit account anniversary.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CAKE_DAY_TRIGGER])
Subreddit Milestone
Triggered when a subreddit reaches a specified number of subscribers.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBREDDIT_MILESTONE_TRIGGER])
User Mention
Triggered when a user is mentioned in a post or comment.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_MENTION_TRIGGER])
Post Flair Changed
Triggered when a post's flair is changed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POST_FLAIR_CHANGED_TRIGGER])
Post Removed
Triggered when a post is removed by moderators.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POST_REMOVED_TRIGGER])