get_comment_tree
Retrieve a specific Hacker News comment and its reply subtree, allowing you to drill into discussion branches with configurable depth.
Instructions
Fetch a specific comment and its reply subtree.
Use this to dive into a branch after scanning top-level comments
with get_thread(depth=1).
Args:
comment_id: The HN comment ID.
depth: How many levels of replies to include below this comment.
0 = this comment only (with reply_count).
N = N levels of replies.
-1 = full subtree (default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |