reddit_get_thread
Read a full Reddit post with its nested comment tree, loading extra lazy-rendered comments before pruning. Returns post details, bounded comments, and counts of truncated or unloaded comments.
Instructions
Read a full post with a pruned comment tree.
Reddit lazily renders ~25 comments per thread page. This tool loads up to REDDIT_MCP_MAX_LOAD_MORE (default 3) additional "more comments" partials via the webapp's own lazy-load deeplinks before pruning, and reports honestly how much of the thread it could NOT load.
Args: url_or_id: Thread permalink (/r/{sub}/comments/{id}/...) or bare post id (then subreddit is required). subreddit: Required only when url_or_id is a bare post id. comment_sort: best, top, new, controversial, old. max_comments: Cap on returned comments (1-100). max_depth: Max reply nesting depth (1-10); deeper branches are stubbed with "replies_truncated" for reddit_get_more_comments. max_body_chars: Cap per comment body (100-8000).
Returns: Post details plus a bounded nested comment tree. Load accounting: total_comment_count (the post's own comment-count), total_comments_rendered (parsed from pages), truncated_comment_count (cut by the caps above), unloaded_comment_count (not loaded because Reddit renders lazily and the partial budget ran out) and more_subtree_cursors (unfetched lazy deeplinks; pass one to reddit_get_more_comments's anchor_url to continue).
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": {
"url_or_id": "<url_or_id>"
},
"name": "reddit_get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| subreddit | No | ||
| url_or_id | Yes | ||
| comment_sort | No | best | |
| max_comments | No | ||
| max_body_chars | No |