Arcade.dev LLM tools Reddit
Arcade.dev provides a powerful toolkit for integrating with Reddit, enabling developers to interact with Reddit's vast content and community features seamlessly. This toolkit allows for efficient data retrieval and engagement on the platform.
Capabilities
- Access subreddit data, including rules and content.
- Retrieve and manipulate posts and comments.
- Verify subreddit accessibility for authenticated users.
- Simplify fetching multiple posts in one request.
OAuth
- Provider: Reddit
- Scopes: history, identity, read, submit
Secrets
- None required for usage.
Available tools(11)
| Tool name | Description | Secrets | |
|---|---|---|---|
Checks whether the specified subreddit exists and also if it is accessible
to the authenticated user.
Returns:
{"exists": True, "accessible": True} if the subreddit exists and is accessible.
{"exists": True, "accessible": False} if the subreddit exists but is private or restricted.
{"exists": False, "accessible": False} if the subreddit does not exist. | |||
Comment on a Reddit post | |||
Get the content (body) of multiple Reddit posts by their identifiers.
Efficiently retrieve the content of multiple posts in a single request.
Always use this tool to retrieve more than one post's content. | |||
Get the content (body) of a Reddit post by its identifier. | |||
Get posts that were created by the authenticated user sorted by newest first | |||
Get the Reddit username of the authenticated user | |||
Gets posts titles, links, and other metadata in the specified subreddit
The time_range is required if the listing type is 'top' or 'controversial'. | |||
Gets the rules of the specified subreddit | |||
Get the first page of top-level comments of a Reddit post. | |||
Reply to a Reddit comment | |||
Submit a text-based post to a subreddit |
Selected tools
No tools selected.
Click "Show all tools" to add tools.
Requirements
Select tools to see requirements
Reddit.CheckSubredditAccess
Checks whether the specified subreddit exists and also if it is accessible to the authenticated user. Returns: {"exists": True, "accessible": True} if the subreddit exists and is accessible. {"exists": True, "accessible": False} if the subreddit exists but is private or restricted. {"exists": False, "accessible": False} if the subreddit does not exist.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subreddit | string | Required | The name of the subreddit to check access for |
Requirements
Output
json— A dict indicating whether the subreddit exists and is accessible to the authenticated userReddit.CommentOnPost
Comment on a Reddit post
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
post_identifier | string | Required | The identifier of the Reddit post. The identifier may be a reddit URL, a permalink, a fullname, or a post id. |
text | string | Required | The body of the comment in markdown format |
Requirements
Output
json— Response from Reddit after submissionReddit.GetContentOfMultiplePosts
Get the content (body) of multiple Reddit posts by their identifiers. Efficiently retrieve the content of multiple posts in a single request. Always use this tool to retrieve more than one post's content.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
post_identifiers | array<string> | Required | A list of Reddit post identifiers. The identifiers may be reddit URLs to the posts, permalinks to the posts, fullnames for the posts, or post ids. Must be less than or equal to 100 identifiers. |
Requirements
Output
json— A dictionary containing the content of multiple Reddit postsReddit.GetContentOfPost
Get the content (body) of a Reddit post by its identifier.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
post_identifier | string | Required | The identifier of the Reddit post. The identifier may be a reddit URL to the post, a permalink to the post, a fullname for the post, or a post id. |
Requirements
Output
json— The content (body) of the Reddit postReddit.GetMyPosts
Get posts that were created by the authenticated user sorted by newest first
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
limit | integer | Optional | The maximum number of posts to fetch. Default is 10. Maximum is 100 |
include_body | boolean | Optional | Whether to include the body (content) of the posts. Defaults to True. |
cursor | string | Optional | The pagination token from a previous call |
Requirements
Output
json— A dictionary with a cursor for the next page and a list of posts created by the authenticated userReddit.GetMyUsername
Get the Reddit username of the authenticated user
Parameters
No parameters required.
Requirements
Output
string— No description provided.Reddit.GetPostsInSubreddit
Gets posts titles, links, and other metadata in the specified subreddit The time_range is required if the listing type is 'top' or 'controversial'.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subreddit | string | Required | The name of the subreddit to fetch posts from |
listing | string | Optional | The type of listing to fetch. For simple listings such as 'hot', 'new', or 'rising', the 'time_range' parameter is ignored. For time-based listings such as 'top' or 'controversial', the 'time_range' parameter is required.hotnewrisingtopcontroversial |
limit | integer | Optional | The maximum number of posts to fetch. Default is 10, max is 100. |
cursor | string | Optional | The pagination token from a previous call |
time_range | string | Optional | The time range for filtering posts. Must be provided if the listing type is top or controversial. Otherwise, it is ignored. Defaults to TODAY.NOWTODAYTHIS_WEEKTHIS_MONTHTHIS_YEARALL_TIME |
Requirements
Output
json— A dictionary with a cursor for the next page and a list of postsReddit.GetSubredditRules
Gets the rules of the specified subreddit
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subreddit | string | Required | The name of the subreddit for which to fetch rules |
Requirements
Output
json— A dictionary containing the subreddit rulesReddit.GetTopLevelComments
Get the first page of top-level comments of a Reddit post.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
post_identifier | string | Required | The identifier of the Reddit post to fetch comments from. The identifier may be a reddit URL, a permalink, a fullname, or a post id. |
Requirements
Output
json— A dictionary with a list of top level commentsReddit.ReplyToComment
Reply to a Reddit comment
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
comment_identifier | string | Required | The identifier of the Reddit comment to reply to. The identifier may be a comment ID, a reddit URL to the comment, a permalink to the comment, or the fullname of the comment. |
text | string | Required | The body of the reply in markdown format |
Requirements
Output
json— Response from Reddit after submissionReddit.SubmitTextPost
Submit a text-based post to a subreddit
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
subreddit | string | Required | The name of the subreddit to which the post will be submitted |
title | string | Required | The title of the submission |
body | string | Optional | The body of the post in markdown format. Should never be the same as the title |
nsfw | boolean | Optional | Indicates if the submission has content that is 'Not Safe For Work' (NSFW). Default is False |
spoiler | boolean | Optional | Indicates if the post is marked as a spoiler. Default is False |
send_replies | boolean | Optional | If true, sends replies to the user's inbox. Default is True |
Requirements
Output
json— Response from Reddit after submission