get-item
get-itemRetrieve detailed HackerNews items with full comment threads. Use this tool to view stories, comments, polls, and their complete metadata including nested discussions.
Instructions
Retrieve detailed information about a specific HackerNews item by ID.
Returns complete item details including the full nested comment tree. Use this to:
View a story with all comments
Read a specific comment with its replies
Explore discussion threads in depth
Get complete metadata for any item
Features:
Full nested comment tree (all levels)
Complete item metadata (title, url, text, points, author, etc.)
Works for stories, comments, polls, and poll options
Includes creation time and item type
Examples:
Get story with comments: { "itemId": "38456789" }
Get specific comment: { "itemId": "38456790" }
Get poll: { "itemId": "126809" }
Note: Large comment threads (>500 comments) may take 2-3 seconds to load due to nested fetching. Returns error if item doesn't exist or has been deleted.
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": {
"itemId": "<itemId>"
},
"name": "get-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes |