Tools
Posts, comments and search.
Things to ask#
Ask your agent in plain words. It picks the tool.
- What do people on r/SaaS say about CRMs for startups?
- Read this Reddit thread and summarize the top answers.
- Find Reddit posts from the past month where people complain about HubSpot pricing.
Tools in Reddit#
3 tools. Prices are in credits; 1,000 credits are $1.
| Tool | Use it when | Cost |
|---|---|---|
reddit_get_post | You have a Reddit post URL and need the post and its top comments. | 1.65 credits per call |
reddit_get_comments | You need the discussion under a Reddit post. | 1.65 credits per comment |
reddit_search_posts | You need what people on Reddit say about a product, brand or problem. | 1.65 credits per post |
Get a Reddit post#
Tool
Readsreddit_get_post- Good for
- You have a Reddit post URL and need the post and its top comments.
- Not the tool for
- Searching Reddit (use
reddit_search_posts). - What you get
- The post: title, text, subreddit, author, date, upvotes, comment count and the top comments.
- Cost
- 1.65 credits per call. Cached 1 hour: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Reddit post URL, e.g. https://www.reddit.com/r/SaaS/comments/1abcde/title/ |
Example
{
"name": "reddit_get_post",
"arguments": {
"url": "https://www.reddit.com/r/CRM/comments/1ncf59q/whats_the_best_crm_for_an_early_stage/"
}
}Get Reddit comments#
Tool
Readsreddit_get_comments- Good for
- You need the discussion under a Reddit post.
- Not the tool for
- The post itself (use
reddit_get_post). - What you get
- Comments, each with text, author, upvotes, date and replies.
- Cost
- 1.65 credits per comment. Cached 1 hour: a cache hit costs 50% of the live price. Cached for your organization only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Reddit post URL, e.g. https://www.reddit.com/r/SaaS/comments/1abcde/title/ |
limit | integer | No | How many comments to return, at most 100. Default 20. |
Example
{
"name": "reddit_get_comments",
"arguments": {
"url": "https://www.reddit.com/r/CRM/comments/1ncf59q/whats_the_best_crm_for_an_early_stage/",
"limit": 20
}
}Search Reddit#
Tool
Readsreddit_search_posts- Good for
- You need what people on Reddit say about a product, brand or problem.
- Not the tool for
- One post you have the URL of (use
reddit_get_post). - What you get
- Matching posts with title, subreddit, author, upvotes, comment count, date, URL and the start of the text. Reading Reddit takes a few minutes: the first call answers status "working" and the same call returns the posts once they are in.
- Cost
- 1.65 credits per post. Cached 1 hour: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | What to search Reddit for. |
subreddit | string | No | Only this subreddit, without r/. |
period | "day" | "week" | "month" | "year" | "all" | No | Default year. |
sort | "relevance" | "hot" | "top" | "new" | No | Default relevance. |
limit | integer | No | How many posts to return, at most 100. Default 20. |
Example
{
"name": "reddit_search_posts",
"arguments": {
"query": "best crm for startups",
"limit": 10
}
}