redditRead public Reddit data with Desearch. Set action and that action's arguments. search (query; optional sort, timeframe, cursor): posts across all subreddits that match a keyword. subreddit (name): a subreddit's description, rules, and weekly activity; the name is case-sensitive ('AskReddit', not 'askreddit'). subreddit_posts (name; optional sort, timeframe, cursor): its posts. post (id): one post by ID or URL, without comments. comments (post_id; optional cursor): a post's comments as a tree, with the replies Reddit loaded alongside them. A post id from search or subreddit_posts can be passed to post or comments. subreddit and post return the item itself. List actions return { results, next_cursor, next }. For the next page, call again with the same action and target and cursor set to next_cursor, unchanged; next_cursor is null on the last page. A cursor lasts 24 hours.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "reddit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | post: Reddit post ID (example: '1q6pxwn', with or without t3_) or its full URL. | |
| name | No | subreddit, subreddit_posts: subreddit name, case-sensitive, example: 'AskReddit'. A leading r/ is removed. | |
| sort | No | search: 'relevance', 'new', 'top', or 'comment_count'. subreddit_posts: 'best', 'hot', 'new', 'top', or 'rising'. | |
| query | No | search: keyword or phrase, example: 'bittensor'. | |
| action | Yes | What to read: 'search', 'subreddit', 'subreddit_posts', 'post', or 'comments'. | |
| cursor | No | next_cursor from the previous page of the same action and target, sent back unchanged. Omit it for the first page. | |
| post_id | No | comments: Reddit post ID (with or without t3_) or its full URL. | |
| timeframe | No | search: only posts from this window. subreddit_posts: the window for sort 'top' (ignored with another sort; without a sort it means top). |