get_post_details
Retrieve a Reddit post and its comments by providing the post URL or ID. Supports sorting and depth options for comments.
Instructions
Fetch a Reddit post with its comments. Requires EITHER url OR post_id. IMPORTANT: When using post_id alone, an extra API call is made to fetch the subreddit first (2 calls total). For better efficiency, always provide the subreddit parameter when known (1 call total).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full Reddit URL (alternative to post_id) | |
| post_id | No | Reddit post ID (e.g., "1abc2d3") | |
| subreddit | No | Subreddit name (optional with post_id, but more efficient if provided) | |
| comment_sort | No | best | |
| comment_depth | No | Default 3, range (1-10). Override ONLY IF user specifies. | |
| comment_limit | No | Default 20, range (1-500). Change ONLY IF user asks. | |
| extract_links | No | ||
| max_top_comments | No | Default 5, range (1-20). Change ONLY IF user requests. |