id_or_urlstring · requiredPositive numeric HN item ID or canonical news.ycombinator.com item URL.
minLength: 1 · maxLength: 2048
Loading tools…
Hacker News
Retrieve one public Hacker News item with a bounded nested comment tree and explicit truncation state.
Retrieve a Hacker News story, job, poll or comment by exact numeric item ID or canonical item URL and return its nested discussion with configurable depth and comment-count limits. IDs stay strings, comment HTML becomes plain text, hierarchy and canonical links remain explicit, and dead, deleted, partial or truncated states are reported rather than silently omitted.
Agents select this operation with tool ID hacker-news.thread, then check its current inputs and price before a run.
id_or_urlstring · requiredPositive numeric HN item ID or canonical news.ycombinator.com item URL.
minLength: 1 · maxLength: 2048
max_commentsinteger · optionalValue supplied for max comments.
minimum: 1 · maximum: 200
max_depthinteger · optionalValue supplied for max depth.
minimum: 0 · maximum: 8
captured_atstringReturned captured at value.
itemobjectReturned item value.
max_depthnumberReturned max depth value.
Use verified tools with pay-per-use pricing. Provider access is included. Tools that work in your own apps ask you to connect that account.
Connect your first agent to receive $1 trial credit.
omitted_commentsReturned omitted comments value.
returned_commentsnumberReturned returned comments value.
source_urlstringReturned source url value.
total_commentsnumberReturned total comments value.
truncatedbooleanReturned truncated value.
Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.
{
"tool_id": "hacker-news.thread",
"input": {
"id_or_url": "https://news.ycombinator.com/item?id=8863",
"max_depth": 2,
"max_comments": 25
}
}{
"item": {
"id": "8863",
"type": "story",
"state": "available",
"title": "My YC app: Dropbox - Throw away your USB drive",
"author": "dhouston",
"children": [
{
"id": "8865",
"text": "oh, and a mac port is coming :)",
"type": "comment",
"state": "available",
"author": "dhouston",
"parent_id": "8863",
"source_url": "https://news.ycombinator.com/item?id=8865"
}
],
"source_url": "https://news.ycombinator.com/item?id=8863"
},
"max_depth": 2,
"truncated": true,
"source_url": "https://news.ycombinator.com/item?id=8863",
"captured_at": "2026-08-21T00:00:00.000Z",
"total_comments": 71,
"omitted_comments": 46,
"returned_comments": 25
}not_found: Hacker News could not find that public item.Use an exact positive item ID or canonical news.ycombinator.com item URL.