Hackernews Get Item
hackernews_get_itemFetch a Hacker News story or comment by ID (e.g., "42153809"). Returns full text, score, author, timestamp, and child replies.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": 8863
},
"name": "hackernews_get_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The numeric Hacker News item ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Author username | |
| id | Yes | HN item ID | |
| url | No | Item URL | |
| dead | No | Whether item is dead/removed | |
| kids | No | Array of child item IDs | |
| text | No | Item text content | |
| time | No | Unix timestamp of item posting | |
| type | No | Item type (story, comment, etc.) | |
| score | No | Item score/points | |
| title | No | Item title | |
| parent | No | Parent item ID | |
| deleted | No | Whether item is deleted | |
| descendants | No | Number of child comments |